From c7366749ac2090da6cbddb55ccff8cc2c338744c Mon Sep 17 00:00:00 2001 From: Jin Igarashi Date: Fri, 15 Mar 2024 12:18:27 +0000 Subject: [PATCH] fix: changed exclusiveMaximum(lt) to maximum (le) (#67) --- src/cogserver/algorithms/rca.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cogserver/algorithms/rca.py b/src/cogserver/algorithms/rca.py index 994f931..4cd1ca1 100644 --- a/src/cogserver/algorithms/rca.py +++ b/src/cogserver/algorithms/rca.py @@ -15,13 +15,13 @@ class RapidChangeAssessment(BaseAlgorithm): """Rapid change assessment.""" # parameters threshold: float = Field( - 0.8, ge=0.0, lt=1.0, + 0.8, ge=0.0, le=1.0, title="Threshold(%)", description="Threshold (%) to mask changes which is ranged between 0 and 1" ) nodata_value: float = Field( - -999.0, ge=-99999, lt=99999, + -999.0, ge=-99999, le=99999, title="No data value", description="If either b1 or b2 has no value, the tool returns 0. Deault is -999." )