Add the --gaps flag to lalpulsar_MakeSFTDAG.py
Description
This MR adds the --gaps
flag to gw_data_find
so that it will emit a non-zero return if the frame list that is returned does not cover the requested time. This should hopefully allow condor to catch when there are missing frames and cause the workflow to fail properly. Right now if the cache file produced does not have the requested coverage, the MakeSFTs step is the one the fails, but really it should fail on the datafind step.
I also took the opportunity to improve the code slightly by using f-strings instead of the format()
method
API Changes and Justification
Backwards Compatible Changes
-
This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions -
This change adds new classes/functions/structs/types to a public C header file or Python module
Backwards Incompatible Changes
-
This change modifies an existing class/function/struct/type definition in a public C header file or Python module -
This change removes an existing class/function/struct/type from a public C header file or Python module
If any of the Backwards Incompatible check boxes are ticked please provide a justification why this change is necessary and why it needs to be done in a backwards incompatible way.
Review Status
Once the test passes @ansel-neunzert can have a look at this for review
Merge request reports
Activity
added lalpulsar label
requested review from @ansel-neunzert
assigned to @evan-goetz
- A deleted user
added apinone label
- Resolved by David Keitel
I think @ansel-neunzert can't formally approve here, so please post if you're happy with the changes and then I can push the button.
added 1 commit
- a02f810f - Add the --gaps flag to lalpulsar_MakeSFTDAG.py
Hi @david-keitel @ansel-neunzert I needed to update the test because of a failure and made the code one line shorter in the process
. Should work better nowmentioned in commit 659c196e