Skip to content

Commit

Permalink
Missed fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GarethCabournDavies committed Jul 20, 2023
1 parent 19d6996 commit 2f09fe9
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions pycbc/workflow/minifollowups.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def grouper(iterable, n, fillvalue=None):

def setup_foreground_minifollowups(workflow, coinc_file, single_triggers,
tmpltbank_file, insp_segs, insp_data_name,
insp_anal_name, dax_output, psd_files, out_dir,
insp_anal_name, dax_output, out_dir,
tags=None):
""" Create plots that followup the Nth loudest coincident injection
from a statmap produced HDF file.
Expand All @@ -59,8 +59,6 @@ def setup_foreground_minifollowups(workflow, coinc_file, single_triggers,
The name of the segmentlist storing data analyzed.
dax_output : directory
Location of the dax outputs
psd_files : list of pycbc.workflow.File
A list of files containing the merged PSDs for each IFO
out_dir: path
The directory to store minifollowups result plots and files
tags: {None, optional}
Expand Down Expand Up @@ -97,8 +95,6 @@ def setup_foreground_minifollowups(workflow, coinc_file, single_triggers,
node.add_input_opt('--statmap-file', coinc_file)
node.add_multiifo_input_list_opt('--single-detector-triggers',
single_triggers)
node.add_multiifo_input_list_opt('--single-detector-psds',
psd_files)
node.add_input_opt('--inspiral-segments', insp_segs)
node.add_opt('--inspiral-data-read-name', insp_data_name)
node.add_opt('--inspiral-data-analyzed-name', insp_anal_name)
Expand All @@ -122,7 +118,7 @@ def setup_foreground_minifollowups(workflow, coinc_file, single_triggers,
# determine if a staging site has been specified
job = SubWorkflow(fil.name, is_planned=False)
input_files = [tmpltbank_file, coinc_file, insp_segs] + \
single_triggers + psd_files
single_triggers
job.add_inputs(*input_files)
job.set_subworkflow_properties(map_file,
staging_site=workflow.staging_site,
Expand Down

0 comments on commit 2f09fe9

Please sign in to comment.