[PNCCD][CORRECT ] Avoid raising a CalCat error while retrieving metadata for missing gain constant from DB
After deploying 3.10.0 which includes !776 (merged) a different behavior was observed while correcting one of the old runs from CALLAB proposal 900113.
Description
Run 9977 from proposal 900113 correction failed after deploying 3.10.0. With a specific temperature value set in the config, the notebook fails in retrieving a gain constant. Before !776 (merged) the notebook succeeded still with no gain correction, instead of raising a CalCatError because calibration_constant_version is not found.
To keep the same behavior try/except should safe against failing the whole processing unnecessary for the missing gain constant
How Has This Been Tested?
Relevant Documents (optional)
SQS_NQS_PNCCD1MP_correct_900113_r9977_230419_172521.pdf
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Edited by Karim Ahmed