Skip to content

[AGIPD][CORRECT] Split FF and PC queries

Karim Ahmed requested to merge fix/AGIDP_constants_queries into master

Description

This is related to this ticket https://redmine.xfel.eu/issues/160639

Since using calcat_interface with AGIPD I was using SplitConditionCalibrationData to retrieve both PC and FF constants. PC constants are dark and FF constants are illuminated.

As the mentioned runs in the ticket were running in High CDS, there were no PC constants for the conditions but there were available FF. However, it was report that no FF nor PC constants were found because the whole function failed trying to query PC.

This fix is splitting the query for PC and FF to avoid such errors. The same logic is hotfixed in production at the moment.

How Has This Been Tested?

Relevant Documents (optional)

Types of changes

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

Checklist:

Reviewers

@schmidtp @kluyvert

Merge request reports