[AGIPD][Correct] Improve errors when no lit frames to correct
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 thepreamble
s in the finalize script.
How Has This Been Tested?
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Edited by Karim Ahmed