desihub / desispec

DESI spectral pipeline
BSD 3-Clause "New" or "Revised" License
33 stars 24 forks source link

Pipeline Corner Case Bug Fixes #2261

Closed akremin closed 1 month ago

akremin commented 1 month ago

This contains two unrelated bug fixes identified with a corner case encountered in Jura.

The first was that if purging and rerunning a tile on a night with linking, desi_proc_night crashed when trying to rebuild it's internal state from the processing table and override file. That is now fixed.

The second is that the recently introduced camword derivation for linking jobs used a vstack command to combine the calibration etable and science etable, but if all calibrations have already been submitted then the calibration etable was None and vtack didn't like that. Now the default is an empty etable such that we can stack it.

The command: desi_proc_night -n 20210130 --tiles 80720 --complete-tiles-thrunight=20240410 --dry-run-level=3

crashes in main but passes in this branch.