Skip to content

Commit

Permalink
Bugfix for multiple dqflag files (#4462)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtrevor authored Aug 21, 2023
1 parent 1e360a0 commit 0e18649
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pycbc/workflow/dq.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def setup_dq_reranking(workflow, dq_label, insps, bank,
ifo_insp = ifo_insp[0]
flag_name = flag_str
logging.info("Creating job for flag %s", flag_name)
dq_files = FileList()
for seg in segs[ifo]:
raw_exe = PyCBCCalculateDQFlagExecutable(workflow.cp,
'calculate_dqflag', ifos=ifo,
Expand All @@ -173,7 +174,7 @@ def setup_dq_reranking(workflow, dq_label, insps, bank,
raw_node = raw_exe.create_node(workflow, seg, dq_file,
flag_name)
workflow += raw_node
dq_files = raw_node.output_files
dq_files += raw_node.output_files
intermediate_exe = PyCBCBinTriggerRatesDQExecutable(workflow.cp,
'bin_trigger_rates_dq',
ifos=ifo,
Expand Down

0 comments on commit 0e18649

Please sign in to comment.