Skip to content

Commit

Permalink
fix: changed exclusiveMaximum(lt) to maximum (le) (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Mar 15, 2024
1 parent 763e4f5 commit c736674
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cogserver/algorithms/rca.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down

0 comments on commit c736674

Please sign in to comment.