Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removing redundant variable
  • Loading branch information
pannarale committed Nov 7, 2024
commit 85284f4a4036377fbcccb01a08c4c95e8b3825b0
5 changes: 2 additions & 3 deletions pycbc/workflow/grb_utils.py
Original file line number Diff line number Diff line change
@@ -628,9 +628,8 @@ def make_pygrb_injs_tables(workflow, out_dir, bank_file, off_file, seg_files,
src_type = 'offsource-trigs'
if on_file:
src_type = 'onsource-trig'
# Onsource input file (passed as File instance)
onsource_file = on_file
node.add_input_opt('--onsource-file', onsource_file)
# Pass onsource input File instance
node.add_input_opt('--onsource-file', on_file)
# Loudest offsource/onsource triggers html and h5 output files
src_type_tags = [src_type.upper().replace('-', '_')]
node.new_output_file_opt(workflow.analysis_time, '.html',