diff --git a/tests/test_update_config.py b/tests/test_update_config.py index ac8e6a0263407492ccd4234f6140c68ca41bdffc..910af2e70c95f468e6918e0fc8d004359018b80a 100644 --- a/tests/test_update_config.py +++ b/tests/test_update_config.py @@ -92,8 +92,9 @@ EXPECTED_CONF = [ 'xray-gain': {'type': bool}, 'blc-noise': {'type': bool}, 'blc-set-min': {'type': bool}, - 'dont-zero-nans': {'type': bool}, - 'dont-zero-orange': {'type': bool}, + 'blc-stripes': {'type': bool}, + 'zero-nans': {'type': bool}, + 'zero-orange': {'type': bool}, 'max-pulses': {'type': list, 'msg': 'Range list of maximum pulse indices ' '(--max-pulses start end step). ' @@ -106,8 +107,9 @@ EXPECTED_CONF = [ 'no-xray-gain': {'type': bool}, 'no-blc-noise': {'type': bool}, 'no-blc-set-min': {'type': bool}, - 'no-dont-zero-nans': {'type': bool}, - 'no-dont-zero-orange': {'type': bool} + 'no-blc-stripes': {'type': bool}, + 'no-zero-nans': {'type': bool}, + 'no-zero-orange': {'type': bool} }, { 'karabo-da': { @@ -137,15 +139,17 @@ args_1 = { "xray_gain": None, "blc_noise": None, "blc_set_min": None, - "dont_zero_nans": None, - "dont_zero_orange": None, + "blc_stripes": None, + "zero_nans": None, + "zero_orange": None, "max_pulses": None, "no_rel_gain": None, "no_xray_gain": None, "no_blc_noise": None, "no_blc_set_min": None, - "no_dont_zero_nans": None, - "no_dont_zero_orange": None, + "no_blc_stripes": None, + "no_zero_nans": None, + "no_zero_orange": None, "karabo_da": None, } diff --git a/webservice/update_config.py b/webservice/update_config.py index acfbd2c05cab591912b68e2d896b727d9b45f895..f1ae56d369ddbadf4e0d6ca2d158593b9fe47941 100755 --- a/webservice/update_config.py +++ b/webservice/update_config.py @@ -19,8 +19,9 @@ AGIPD_CONFIGURATIONS = { "xray-gain": {'type': bool}, "blc-noise": {'type': bool}, "blc-set-min": {'type': bool}, - "dont-zero-nans": {'type': bool}, - "dont-zero-orange": {'type': bool}, + "blc-stripes": {'type': bool}, + "zero-nans": {'type': bool}, + "zero-orange": {'type': bool}, "max-pulses": {'type': list, 'msg': "Range list of maximum pulse indices " "(--max-pulses start end step). "