Skip to content

[AGIPD][Correct] Improve errors when no lit frames to correct

Karim Ahmed requested to merge fix/no_lit_frames_to_correct into master

Description

This MR is related to these tickets:

Changes proposed in this MR:

  • When no data trains to correct, skip plots with a warning before plotting raw or corrected data.
  • When no lit frames are available to correct, emphasize this by replacing the empty list with a message of no frames to correct.
  • Before going into litframe cell, check if any trains are in the run for the selected module to correct in the first place.
  • custom \warningbox Latex command included with the preambles in the finalize script.

How Has This Been Tested?

Relevant Documents (optional)

No_lit_frames_production.pdf Screenshot_from_2024-02-27_16-34-53

No_lit_frames_master.pdf

No_lit_frames_branch.pdf Screenshot_from_2024-03-15_11-52-32

Types of changes

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

Checklist:

Reviewers

@schmidtp @esobolev @kluyvert

Edited by Karim Ahmed

Merge request reports