From 46ba8ab9105423284435a0bded7a9561c609d5ff Mon Sep 17 00:00:00 2001 From: ArthurTolley Date: Tue, 11 Jul 2023 19:51:22 +0100 Subject: [PATCH] re-adding bug fix --- bin/pycbc_live | 9 --------- 1 file changed, 9 deletions(-) diff --git a/bin/pycbc_live b/bin/pycbc_live index f8f435d0ebd..51f765badb0 100755 --- a/bin/pycbc_live +++ b/bin/pycbc_live @@ -113,7 +113,6 @@ class LiveEventManager(object): if self.run_snr_optimization: # preestimate the number of CPU cores that we can afford giving # to followup processes without slowing down the main search - available_cores = len(os.sched_getaffinity(0)) bg_cores = len(tuple(itertools.combinations(ifos, 2))) analysis_cores = 1 + bg_cores if platform.system() != 'Darwin': @@ -1120,14 +1119,6 @@ with ctx: args.max_psd_abort_distance ) - if data_reader[ifo].psd is not None: - dist = data_reader[ifo].psd.dist - if dist < args.min_psd_abort_distance or dist > args.max_psd_abort_distance: - logging.info("%s PSD dist %s outside acceptable range [%s, %s]", - ifo, dist, args.min_psd_abort_distance, - args.max_psd_abort_distance) - status = False - if status is True: if ifo not in evnt.skymap_only_ifos: evnt.live_detectors.add(ifo)