Commit 4020a2a3 authored by Médéric Boquien's avatar Médéric Boquien

Use obs.id rather than obs['id'] to follow the new Observation object.

parent 58dbf020
......@@ -272,7 +272,7 @@ def bestfit(oidx, obs):
gbl_results.best.fluxes[oidx, :] = fluxes * scaling
if gbl_conf['analysis_params']["save_best_sed"]:
sed.to_fits('out/{}'.format(obs['id']), scaling)
sed.to_fits('out/{}'.format(obs.id), scaling)
with gbl_ncomputed.get_lock():
gbl_ncomputed.value += 1
......
Markdown is supported
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