Use status AW in myMdC if correction failed for some detectors in a run
Description
We want to provide a clearer status when there are multiple detectors in a run and correction has failed for some but not all of them. The status 'AW' means 'available with warning'.
While trying to test this, I also noticed a problem with my recent changes to how we detect jobs are finished: we were checking the abbreviated Slurm state (e.g. CD
) against the names of full states (COMPLETED
), so I've tried to make this consistent. I can split this out if needed
How Has This Been Tested?
Deployed on max-exfl017, tried with myMdC test instance with p900113, r9981.
Relevant Documents (optional)
Types of changes
- Bug fix (arguably)
Checklist:
- My code follows the code style of this project.