Skip to content

[PNCCD][CORRECT ] Avoid raising a CalCat error while retrieving metadata for missing gain constant from DB

Karim Ahmed requested to merge feat/skip_raising_CalCatError_flag into master

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)

Screenshot_from_2023-04-20_11-21-46

SQS_NQS_PNCCD1MP_correct_900113_r9977_230419_172521.pdf

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

Reviewers

@kluyvert @schmidtp

Edited by Karim Ahmed

Merge request reports