From 42dfe2e49cd16be20280f1b962e3fbff1d259a87 Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Fri, 31 Jan 2025 21:35:57 +0100 Subject: [PATCH] string 0 is expected not number 0 --- slic/core/acquisition/detcfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slic/core/acquisition/detcfg.py b/slic/core/acquisition/detcfg.py index b08689d10..26afbd369 100644 --- a/slic/core/acquisition/detcfg.py +++ b/slic/core/acquisition/detcfg.py @@ -51,7 +51,7 @@ ALLOWED_DAP_PARAMS = dict( spi_limit = Sequence, threshold_max = Number, threshold_min = Number, - threshold_value = [0, "NaN"] + threshold_value = ["0", "NaN"] ) ALLOWED_HARDWARE_PARAMS = dict(