Skip to content

Commit

Permalink
bugfix - allow non-running of singles (#4439)
Browse files Browse the repository at this point in the history
* bugfix - allow non-running of singles

* CC

* Revrt wrongly-added test chnages
  • Loading branch information
GarethCabournDavies authored Jul 20, 2023
1 parent f037f98 commit 8f784ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycbc/events/single.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ def verify_args(args, parser, ifos):
parser.error("All IFOs required in --single-ifar-est-dist "
"if IFO-specific options are given.")

if args.sngl_ifar_est_dist[ifo] is None:
# Default - no singles being used
continue

if not args.sngl_ifar_est_dist[ifo] == 'fixed':
if not args.single_fit_file:
# Fixed IFAR option doesnt need the fits file
Expand Down

0 comments on commit 8f784ed

Please sign in to comment.