[AGIPD][DARK] Avoid failed jobs for creating constants and injecting them
Description
This is a preparation for integrating the calibration for AGIPD single modules.
At the moment dark processing will have only one failed job while creating the dark summary plots.
Now summary plotting is skipped by default for single module detector.
How Has This Been Tested?
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Merge request reports
Activity
added Doing label
assigned to @ahmedk
added 1 commit
- 64f7c66d - remove dinstance and use karabo_id to decide the correct plot
added 1 commit
- 5fbc06fd - remove dinstance and use karabo_id to decide the correct plot
added 1 commit
- d2b72d55 - remove dinstance and use karabo_id to decide the correct plot
added 1 commit
- 3a426252 - Propagate show_processed_modules change to LPD and DSSC and summary notebook
- Resolved by Karim Ahmed
- Resolved by Karim Ahmed
- Resolved by Karim Ahmed
added 1 commit
- 9303a724 - remove the dinstance leftovers and use nmods instead of checking 1M and 500K
For correction, we can
skip_plots
, yes.For dark there is a way to skip it but not directly. If local constants aren't available
local_output == False
, the Summary notebook exits and is skipped.In this MR I print a message and skip, anyway even if
local_output == True
, if we are trying to plot a single module AGIPD detector.Edited by Karim AhmedOh, you do. I'm sorry, I understand your point now, I was confused by the MR description where you're still mentioning a single failed job. But it simply doesn't plot for now.
I checked EXtra-geom, and indeed it looks like we need to create a custom detector (i.e. inherit from
GenericGeometry
orDetectorGeometryBase
) with only a single module.
mentioned in merge request !977 (merged)