Skip to content

Commit 38a03fa

Browse files
GarethCabournDaviesacorreia61201
authored andcommitted
bugfix - allow non-running of singles (gwastro#4439)
* bugfix - allow non-running of singles * CC * Revrt wrongly-added test chnages
1 parent cd04f0d commit 38a03fa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pycbc/events/single.py

+4
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ def verify_args(args, parser, ifos):
108108
parser.error("All IFOs required in --single-ifar-est-dist "
109109
"if IFO-specific options are given.")
110110

111+
if args.sngl_ifar_est_dist[ifo] is None:
112+
# Default - no singles being used
113+
continue
114+
111115
if not args.sngl_ifar_est_dist[ifo] == 'fixed':
112116
if not args.single_fit_file:
113117
# Fixed IFAR option doesnt need the fits file

0 commit comments

Comments
 (0)