Skip to content
Snippets Groups Projects

Fix: [AGIPD][DARK] index out of range in case of running for one module

Merged Karim Ahmed requested to merge fix/AGIPD_dark_one_module_inp_list into master

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)

Checklist:

Reviewers

@schmidtp @danilevc

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading