Skip to content

Commit

Permalink
Enable handling of all pycbc_pygrb_efficiency in workflow (#4873)
Browse files Browse the repository at this point in the history
* Enable handling json file output from pycbc_pygrb_efficiency in pygrb workflow

* Removing resolve_url_to_file
  • Loading branch information
pannarale authored Sep 19, 2024
1 parent 83fd3a7 commit 6d31478
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pycbc/workflow/grb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,11 @@ def make_pygrb_plot(workflow, exec_name, out_dir,
node.new_output_file_opt(workflow.analysis_time, '.png',
'--onsource-output-file',
tags=extra_tags+['onsource'])
node.new_output_file_opt(workflow.analysis_time, '.json',
'--exclusion-dist-output-file',
tags=extra_tags)
node.add_opt('--injection-set-name', tags[1])
node.add_opt('--trial-name', tags[0])
else:
node.new_output_file_opt(workflow.analysis_time, '.png',
'--output-file', tags=extra_tags)
Expand All @@ -539,6 +543,7 @@ def make_pygrb_plot(workflow, exec_name, out_dir,
node.add_opt('--y-variable', tags[0])
# Quantity to be displayed on the x-axis of the plot
elif exec_name == 'pygrb_plot_stats_distribution':
node.add_input_list_opt('--seg-files', seg_files)
node.add_opt('--x-variable', tags[0])
elif exec_name == 'pygrb_plot_injs_results':
# Variables to plot on x and y axes
Expand Down

0 comments on commit 6d31478

Please sign in to comment.