Skip to content

Commit

Permalink
refer to dic for redshift/sncode
Browse files Browse the repository at this point in the history
  • Loading branch information
AmandaWasserman committed Mar 13, 2024
1 parent aa9910b commit 3783cad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resspect/fit_lightcurves.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ def _TOM_sample_fit(
light_curve_data.dataset_name = 'TOM'
light_curve_data.filters = ['u', 'g', 'r', 'i', 'z', 'Y']
light_curve_data.id = id
light_curve_data.redshift = -99
light_curve_data.redshift = dic[id]['redshift']
light_curve_data.sntype = 'unknown'
light_curve_data.sncode = -99
light_curve_data.sncode = dic[id]['sncode']
light_curve_data.sample = 'N/A'

light_curve_data.fit_all()
Expand Down

0 comments on commit 3783cad

Please sign in to comment.