From 8f784ed2e1ba5cc312529cbd1d4443d88021f8e3 Mon Sep 17 00:00:00 2001 From: Gareth S Cabourn Davies Date: Thu, 20 Jul 2023 10:39:22 +0100 Subject: [PATCH] bugfix - allow non-running of singles (#4439) * bugfix - allow non-running of singles * CC * Revrt wrongly-added test chnages --- pycbc/events/single.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pycbc/events/single.py b/pycbc/events/single.py index 5312466fb57..f41b2dfb131 100644 --- a/pycbc/events/single.py +++ b/pycbc/events/single.py @@ -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