diff --git a/package/PartSegCore/segmentation/threshold.py b/package/PartSegCore/segmentation/threshold.py index 917839f75..91f3e4224 100644 --- a/package/PartSegCore/segmentation/threshold.py +++ b/package/PartSegCore/segmentation/threshold.py @@ -413,8 +413,8 @@ class MaximumDistanceWatershedParams(BaseModel): minimum_border_distance: int = Field( 10, title="Border Radius", - ge=0.0, - le=100.0, + ge=0, + le=100, description="Minimum distance of local maxima from the border. To avoid artifacts", )