[AGIPD] [SlopesPC] use send_to_db
Summary
- There was a bug in the SlopesPC that it was hardcoded to inject constants only for the SPB physical modules (AGIPD1M1).
- Sphinx tag updated to use feature for wrapping long parsed-literal text in .rst
Steps to reproduce
- Running
Chracterize_AGIPD_Gain_PC_NBC.ipynb
with parameter inputinstrument = "MID"
- Trying to inject constants with non-available conditions in the database, will show part of the error message in a pdf report.
What is the current bug behavior?
- After creating constants from MID raw data it is injected to the database for the wrong 16 modules in SPB, not MID
- CalibrationDBRemote sends back long messages in case of errors related to the database which will not be totally exposed in the pdf report as it is written in
parsed-literal
section in .rst without proper spaces
Relevant reports:
- Difference can be shown at the parts for visualising feedback for injecting constants to the database
-
Before fix: dark_900170_r134_200912_082137.pdf
-
After fix:CharacterizeAGIPDPulseCapacitorData.pdf
Possible fixes
Lines responsible for this bug
Edited by Karim Ahmed