Sort the detector names in descending alphabetical order prior to passing the list to postBadPixMsg
Catch a number of errors which if uncaught cause the PedestalPlot jobs to fail. These seem to occur if a detector is added in later runs. The script checks for all detectors present in the current run in all PREVIOUS runs and if one was added later, it may not be present. An example of this can be seen in mecl1002021 (check the logs under Workflow > Control for PedestalPlot submissions).
Catches TypeError and presents a debug level message.
Catches KeyError and presents a debug level message.
If the detector is not present it will append a 0 for the number of bad pixels for that detector in that particular run.
Convert self.trbit to a NumPy array to avoid taking mean of list in fallback code of DetObject.py
Change Log
postBadPixMsg
PedestalPlot
jobs to fail. These seem to occur if a detector is added in later runs. The script checks for all detectors present in the current run in all PREVIOUS runs and if one was added later, it may not be present. An example of this can be seen inmecl1002021
(check the logs underWorkflow > Control
forPedestalPlot
submissions).TypeError
and presents a debug level message.KeyError
and presents a debug level message.0
for the number of bad pixels for that detector in that particular run.self.trbit
to a NumPy array to avoid taking mean of list in fallback code ofDetObject.py