From a63b3aba3a1facf3ddac0e21323ae31095044d51 Mon Sep 17 00:00:00 2001 From: Bastien Carreres Date: Thu, 18 Apr 2024 10:55:25 -0400 Subject: [PATCH] updadte --- snsim/io_utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/snsim/io_utils.py b/snsim/io_utils.py index 79c73df..b298978 100644 --- a/snsim/io_utils.py +++ b/snsim/io_utils.py @@ -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")