From 79b9e7c7e41234e043c3e499d79b9715080dbd5b Mon Sep 17 00:00:00 2001 From: Sama Al-Shammari <sama.al-shammari@ligo.org> Date: Fri, 15 Mar 2024 22:02:24 +0000 Subject: [PATCH] BUGFIX: Resolve "Missing import in bilby.gw.detector.load_data_from_cache_file" --- AUTHORS.md | 1 + bilby/gw/detector/__init__.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index ee4154574..feb872f28 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -74,6 +74,7 @@ Roberto Cotesta Rory Smith S. H. Oh Sacha Husa +Sama Al-Shammari Samson Leong Scott Coughlin Serguei Ossokine diff --git a/bilby/gw/detector/__init__.py b/bilby/gw/detector/__init__.py index b3f8c2fe1..3c7e9ad95 100644 --- a/bilby/gw/detector/__init__.py +++ b/bilby/gw/detector/__init__.py @@ -239,7 +239,7 @@ def load_data_from_cache_file( An initialised interferometer object with strain data set to the appropriate data in the cache file and a PSD. """ - + import lal data_set = False psd_set = False -- GitLab