Fix: [AGIPD][DARK] index out of range in case of running for one module
A bug found while trying release automated tests.
This bug was introduced after: https://git.xfel.eu/detectors/pycalibration/-/merge_requests/601
Description
Running the notebook interactively there was no issue.
But as soon as the notebook has an input modules
> 0. A index out of range error is returned while trying to index inp
list.
How Has This Been Tested?
Re-run again interactivel for modules = [-1]
and modules = [1]
And automated test will rerun again on this changes.
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)