From 7cea460394d379f81453dd07a188e0286b7ec3e1 Mon Sep 17 00:00:00 2001 From: Dougal Dobie Date: Wed, 11 Sep 2024 14:41:28 +1000 Subject: [PATCH] PEP8 --- vasttools/source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vasttools/source.py b/vasttools/source.py index 5058b9ea..25b1e44b 100644 --- a/vasttools/source.py +++ b/vasttools/source.py @@ -569,17 +569,17 @@ def plot_lightcurve( detections = measurements_df[ ~upper_lim_mask ] - + if self.pipeline: upper_lim_mask = measurements_df.forced else: upper_lim_mask = measurements_df.detection == False if use_forced_for_all: upper_lim_mask = np.array([False for i in upper_lim_mask]) - upper_lims = measurements[ + upper_lims = measurements_df[ upper_lim_mask ] - + if yaxis_start == "0": max_det = detections.loc[:, [flux_col, err_value_col]].sum(axis=1) if use_forced_for_limits or self.pipeline: