-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup_pygrb_minifollowups cleaner #4872
setup_pygrb_minifollowups cleaner #4872
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A minor request, happy for this to be merged once addressed.
pycbc/workflow/grb_utils.py
Outdated
@@ -710,14 +710,12 @@ def setup_pygrb_minifollowups(workflow, followups_file, | |||
tags=tags) | |||
node = exe.create_node() | |||
|
|||
node.add_input_opt('--trig-file', resolve_url_to_file(trigger_file)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, the resolve_url_to_file
call would not happen here, but instead be done as soon as the trigger_file is read in (presumably a few levels above this). The help states that trigger_file
is a pycbc.workflow.File
, which is what we would want, but not what seems to be happening if this is needed.
@spxiwh, I followed up on your comments, thanks. I reran the post-processing portion of the run and successfully produced a new webpage which looks like the original one. |
* setup_pygrb_minifollowups cleaner * Removing resolve_url_to_file from setup_pygrb_minifollowups
Small cleanup of
setup_pygrb_minifollowups
Standard information about the request
This change affects: PyGRB
This change will: remove an unused variable (
trig_time
) and make the trigger file (trigger_file
) a mandatory argument ofsetup_pygrb_minifollowups
.Motivation
This is the first PR to breakdown the workflow changes that produce a PyGRB results page with injections, exclusion distances, open box, followups of missed injections, offsource and onsource triggers, timeslides, etc.
Testing performed
See link above to the most recent results webpage.