From 81c05d5ad08c9c5751b5f2525fb50902537dcc9d Mon Sep 17 00:00:00 2001 From: Panos Athanasiou <38324721+panosatha@users.noreply.github.com> Date: Wed, 13 Mar 2024 15:37:26 +0100 Subject: [PATCH] made benefit threshold optional (#390) --- flood_adapt/object_model/interface/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flood_adapt/object_model/interface/site.py b/flood_adapt/object_model/interface/site.py index fdda7da32..7976759a0 100644 --- a/flood_adapt/object_model/interface/site.py +++ b/flood_adapt/object_model/interface/site.py @@ -94,7 +94,7 @@ class MapboxLayersModel(BaseModel): svi_colors: Optional[list[str]] = [] benefits_bins: list[float] benefits_colors: list[str] - benefits_threshold: float + benefits_threshold: Optional[float] = None damage_decimals: Optional[int] = 0