Skip to content
Snippets Groups Projects

segment lengths calculated from cache files reguardless of skip-datafind in bayeswave-pipe

2 files
+ 5
13
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -709,18 +709,10 @@ for ifo in ifo_list:
ldfcmd_file.writelines(ldfcmd+'\n\n')
os.chmod(datafindscript, 0o755)
# Record frame segments so we can identify frames for osg_deploy transfers
if opts.skip_datafind:
# XXX: if no datafind, assume frames include jobs. But should
# change to take cache file locations
frameSegs[ifo] = \
segments.segmentlist([segments.segment(gps_start_time,
gps_end_time)])
else:
frameSegs[ifo] = utils.fromlalcache(open(cache_files[ifo]))
if not frameSegs[ifo]:
raise ValueError("No frame data found with: {}".format(ldfcmd))
# get segment length of data from cache files
frameSegs[ifo] = utils.fromlalcache(open(cache_files[ifo]))
if not frameSegs[ifo]:
raise ValueError("No frame data found with: {}".format(ldfcmd))
if skip_segment_queries:
segmentList[ifo] = \
Loading