Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
ddobie committed Sep 11, 2024
1 parent a461978 commit 7cea460
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vasttools/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7cea460

Please sign in to comment.