Closed akremin closed 1 month ago
I also fixed a typo in the initialization of z_submit_types
in desi_proc_night
that has never been an issue because it only occurs when it is run as a python function rather than as a bash script via argparse
.
Looks good; thanks for including unit test.
This fixes a bug introduced by me in PR #2221 that is causing crashes in
determine_calibrations_to_proc()
when no valid flats are available on a night.The fix is simple, we now check that there is at least one valid 120s flat before trying to add the cte flats. Given that we need a 120s flat to do the cte correction, this is a reasonable thing to do.
The traceback was the following: