From 7a242ddc4cf02c4bab0654d906a7a8f3591470b7 Mon Sep 17 00:00:00 2001 From: Alexander Harvey Nitz Date: Mon, 29 May 2023 11:46:41 -0400 Subject: [PATCH] fix --- pycbc/detector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycbc/detector.py b/pycbc/detector.py index eff9147b5fd..a03de43a3a8 100644 --- a/pycbc/detector.py +++ b/pycbc/detector.py @@ -208,7 +208,7 @@ def __init__(self, detector_name, reference_time=1126259462.0): self.name = str(detector_name) lal_detectors = [pfx for pfx, name in get_available_lal_detectors()] - if detector_name in get_available_detectors(): + if detector_name in _ground_detectors: self.info = _ground_detectors[detector_name] self.response = self.info['response'] self.location = self.info['location']