Skip to content

Commit

Permalink
bugfix - allow non-running of singles (gwastro#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 and acorreia61201 committed Apr 4, 2024
1 parent cd04f0d commit 38a03fa
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 38a03fa

Please sign in to comment.