Skip to content

Commit

Permalink
fix logging for skymag fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akremin committed Mar 4, 2025
1 parent 92010ce commit c35072a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/desi_tsnr_afterburner
Original file line number Diff line number Diff line change
Expand Up @@ -1139,10 +1139,12 @@ def main():
skymag_rows.append(entry)

if len(skymag_rows) > 0:
log.info("No sky magnitudes to append to table")
log.info("Adding computed sky magnitudes to table.")
colnames = list(skymag_rows[0].keys())
skymags_table = Table(rows=skymag_rows, names=colnames)
add_skymags_columns(tsnr2_expid_table,skymags_table)
else:
log.info("No sky magnitudes to append to table.")

gfa_table = None
gfa_nights = list()
Expand Down

0 comments on commit c35072a

Please sign in to comment.