Skip to content
Snippets Groups Projects
Commit 775c2cef authored by Chad Hanna's avatar Chad Hanna
Browse files

gstlal_inspiral: gaurantee lal cache complient cache files when caching frame data

parent b895ed6a
No related branches found
No related tags found
No related merge requests found
......@@ -395,6 +395,8 @@ def parse_command_line():
# run scratch space so this *will* work properly
detectors.local_cache_list = hoftcache.cache_hoft(detectors, output_path = tempfile.gettempdir(), verbose = options.verbose)
for cacheentry in detectors.local_cache_list:
# Guarantee a lal cache complient file with only integer starts and durations.
cacheentry.segment = segments.segment( int(cacheentry.segment[0]), int(math.ceil(cacheentry.segment[1])) )
print >>f, str(cacheentry)
detectors.frame_cache = fname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment