[AGIPD][DARK] fix gain mode validation for FIXED_GAIN operation mode
Compare changes
A fix for selecting Fixed_Gain operation mode for fixed gain dark runs. Related to this ticket https://in.xfel.eu/redmine/issues/125424
The Dark notebook didn't depend much on selecting the correct operation mode, to avoid operator mistakes by requesting darks for fixed gain runs with ADAPTIVE GAIN operation mode.
Ironically when the operator selected the correct configuration for the runs. The notebook failed with the wrong conditions.
This MR fixes this mess.
runs
parameter.FIXED_GAIN
is selected.gain_mode
parameter in validate_gain_modes
Running the notebook interactively for the runs mentioned in the problem ticket