Commit e664cc55 authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Correct typos to get closer to the PEP8.

parent f452ec52
...@@ -21,8 +21,8 @@ def save_chi2(obs, variable, models, chi2, values): ...@@ -21,8 +21,8 @@ def save_chi2(obs, variable, models, chi2, values):
"""Save the chi² and the associated physocal properties """Save the chi² and the associated physocal properties
""" """
fname = 'out/{}_{}_chi2-block-{}.npy'.format(obs.id, variable.replace('/', '\/'), fname = 'out/{}_{}_chi2-block-{}.npy'.format(obs.id, variable.replace('/',
models.iblock) '\/'), models.iblock)
data = np.memmap(fname, dtype=np.float64, mode='w+', data = np.memmap(fname, dtype=np.float64, mode='w+',
shape=(2, chi2.size)) shape=(2, chi2.size))
data[0, :] = chi2 data[0, :] = chi2
......
...@@ -264,7 +264,6 @@ def bestfit(oidx, obs): ...@@ -264,7 +264,6 @@ def bestfit(oidx, obs):
extprops[:, None], obs, corr_dz, extprops[:, None], obs, corr_dz,
gbl_conf['analysis_params']['lim_flag']) gbl_conf['analysis_params']['lim_flag'])
gbl_results.best.properties[oidx, :] = [sed.info[k] for k in gbl_results.best.properties[oidx, :] = [sed.info[k] for k in
gbl_results.best.propertiesnames] gbl_results.best.propertiesnames]
iprop = [i for i, k in enumerate(gbl_results.best.propertiesnames) iprop = [i for i, k in enumerate(gbl_results.best.propertiesnames)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment