Fix[AGIPD][CORRECT]: Account for a modified file list if skipping correcting any modules.
Description
While working with the test_calcat . Some modules didn't have dark constants (expectedly). This should lead to no corrections for these modules and no bug. That was not the case.
This MR fixes some bugs:
- When a module has no dark constants and supposed to not be corrected (karabo_da is modified with removing the module). The file dict should be updated to avoid correcting and reading this module.
- If some modules are missing for CALCAT mapping of the corrected detector, ensure these modules are also removed from corrections.
How Has This Been Tested?
-
TBD
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Edited by Karim Ahmed