Hi @daniel-muthukrishna I noticed a minor bug in the way obj_id is assigned when reading snana fits.
The SNID field is may be set to 0 in some of the SNANA output files. In fact, I am seeing this behavior every time when running in batch mode. Thus, the class_num_snid format produces the same key each time for the lightcurves dictionary.
Even when there is a incremental SNID, there could be the same SNID from the different output files produced in batch mode.
Unless the SNID dependence used downstream, we could use something like UUID. Here is a merge request.
Hi @daniel-muthukrishna I noticed a minor bug in the way
obj_id
is assigned when reading snana fits.SNID
field is may be set to0
in some of the SNANA output files. In fact, I am seeing this behavior every time when running in batch mode. Thus, theclass_num_snid
format produces the same key each time for the lightcurves dictionary.SNID
, there could be the sameSNID
from the different output files produced in batch mode.Unless the SNID dependence used downstream, we could use something like
UUID
. Here is a merge request.