From f53c1767dcbf5f5a6a4f58d514b4baaee9d4c4b1 Mon Sep 17 00:00:00 2001 From: Moritz <email@moritz-huebner.de> Date: Wed, 1 May 2019 18:18:52 +1000 Subject: [PATCH] PEP8 --- bilby/gw/detector/interferometer.py | 2 +- bilby/gw/detector/networks.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bilby/gw/detector/interferometer.py b/bilby/gw/detector/interferometer.py index 43af4e73e..fcfdd9a85 100644 --- a/bilby/gw/detector/interferometer.py +++ b/bilby/gw/detector/interferometer.py @@ -1238,4 +1238,4 @@ def load_data_from_cache_file( elif not data_set: raise ValueError('Data not loaded for {}'.format(ifo.name)) elif not psd_set: - raise ValueError('PSD not created for {}'.format(ifo.name)) \ No newline at end of file + raise ValueError('PSD not created for {}'.format(ifo.name)) diff --git a/bilby/gw/detector/networks.py b/bilby/gw/detector/networks.py index 8eac32390..d9ea1e22a 100644 --- a/bilby/gw/detector/networks.py +++ b/bilby/gw/detector/networks.py @@ -7,7 +7,7 @@ from bilby.core import utils from bilby.core.utils import logger from bilby.gw import utils from bilby.gw.detector import get_interferometer_with_open_data -from .interferometer import Interferometer +from .interferometer import Interferometer, get_empty_interferometer from .psd import PowerSpectralDensity @@ -307,7 +307,7 @@ def get_event_data( ------ list: A list of bilby.gw.detector.Interferometer objects """ - event_time = gwutils.get_event_time(event) + event_time = utils.get_event_time(event) interferometers = [] @@ -325,4 +325,4 @@ def get_event_data( logger.debug("Error raised {}".format(e)) logger.warning('No data found for {}.'.format(name)) - return InterferometerList(interferometers) \ No newline at end of file + return InterferometerList(interferometers) -- GitLab