Skip to content

Commit

Permalink
Merge pull request #323 from bastiencarreres/dev
Browse files Browse the repository at this point in the history
update snsim.io.writefit
  • Loading branch information
bastiencarreres authored Apr 18, 2024
2 parents 4e303f8 + a63b3ab commit 9cae4c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion snsim/io_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ def write_fit(sim_lcs_meta, fit_res, fit_model_name, sim_header, directory):
for obj_ID in fit_res:
snc_out = fit_res[obj_ID]["snc_out"]
data[obj_ID] = {**sim_lcs_meta[obj_ID]}
data[obj_ID].pop("type")
if snc_out != "NaN":
data[obj_ID] = {**data[obj_ID], **fit_res[obj_ID]["params"]}
data[obj_ID].pop("z")
Expand Down

0 comments on commit 9cae4c5

Please sign in to comment.