Skip to content
Snippets Groups Projects
Commit a3c2a9c3 authored by Duncan Meacher's avatar Duncan Meacher
Browse files

gstlal_inspiral: fix check pointing for inj jobs

parent a2df836b
No related branches found
No related tags found
No related merge requests found
......@@ -607,8 +607,9 @@ for output_file_number, (svd_bank_url_dict, output_url, likelihood_url_namedtupl
# lines uses less memory
for line in gzip.open(ligolw_utils.local_path_from_url(output_url)):
pass
for line in gzip.open(ligolw_utils.local_path_from_url(likelihood_url_namedtuple[0])):
pass
if not options.injections:
for line in gzip.open(ligolw_utils.local_path_from_url(likelihood_url_namedtuple[0])):
pass
# File is OK and there is no need to process it,
# skip ahead in the loop
continue
......
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