From 13a10ccedd1ee065e6cb13493e2662508a4773fe Mon Sep 17 00:00:00 2001 From: rstiskalek Date: Tue, 23 Apr 2024 12:03:47 +0100 Subject: [PATCH] pep8 --- notebooks/flow/flow_calibration.py | 2 +- notebooks/match_observation/match_clusters.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/flow/flow_calibration.py b/notebooks/flow/flow_calibration.py index e4588e5..a7888d7 100644 --- a/notebooks/flow/flow_calibration.py +++ b/notebooks/flow/flow_calibration.py @@ -86,7 +86,7 @@ def read_samples(catalogue, simname, ksmooth, include_calibration=False, except KeyError: chi2.append([0.]) - if catalogue in ["LOSS", "Foundation"] or "Pantheon+" in catalogue: # noqa + if catalogue in ["LOSS", "Foundation"] or "Pantheon+" in catalogue: # noqa alpha_cal.append(f[f"sim_{nsim}/alpha_cal"][:]) beta_cal.append(f[f"sim_{nsim}/beta_cal"][:]) mag_cal.append(f[f"sim_{nsim}/mag_cal"][:]) diff --git a/notebooks/match_observation/match_clusters.py b/notebooks/match_observation/match_clusters.py index 4c0fe83..19576b7 100644 --- a/notebooks/match_observation/match_clusters.py +++ b/notebooks/match_observation/match_clusters.py @@ -22,4 +22,4 @@ def open_cats(simname, bounds): for i, nsim in enumerate(tqdm(nsims, desc="Opening catalogues")): catalogues[i] = open_cat(nsim, simname, bounds) - return catalogues \ No newline at end of file + return catalogues