Skip to content
Snippets Groups Projects

[EPIX100][CORRECT] Avoid including histogram calculator with empty array

Merged Karim Ahmed requested to merge fix/avoid_including_empty_histCalGainCorSingles into master
1 unresolved thread

While investigating failed runs on https://redmine.xfel.eu/issues/151837. Run 49 for epix100 was found in a failed state.

Checking the report. The error is related to plotting values in histogram calculators.

Description

As histCalGainCorSingles was never filled because there was no single photons events for any train d_sing. The array was None and pyDetLib failed while attempting to get its .size()

I have avoided adding a histogram calculator to plotting in the first place if the corresponding array is empty.

How Has This Been Tested?

Running the same run interactively

Relevant Documents (optional)

Screenshot_from_2023-04-19_10-19-15

Types of changes

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

Checklist:

Reviewers

@duarten @schmidtp

Edited by Karim Ahmed

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
Please register or sign in to reply
Loading