mirror of
https://github.com/Richard-Sti/csiborgtools.git
synced 2024-12-22 12:48:02 +00:00
pep8
This commit is contained in:
parent
c4557cf35b
commit
13a10ccedd
2 changed files with 2 additions and 2 deletions
|
@ -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"][:])
|
||||
|
|
|
@ -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
|
||||
return catalogues
|
||||
|
|
Loading…
Reference in a new issue