You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked that this issue has not already been reported.
I have checked that this bug exists on the latest version of FloodAdapt.
Reproducible Example
if an RP of less than a year or in general a decimal RP is configured in the site.toml an error will be returned : Unknown format code 'd' for object of type 'float'
FloodAdapt version checks
Reproducible Example
if an RP of less than a year or in general a decimal RP is configured in the site.toml an error will be returned :
Unknown format code 'd' for object of type 'float'
Current behaviour
FloodAdapt/flood_adapt/object_model/hazard/hazard.py
Line 699 in 369e4cb
this part assumes that the RP is always an integer.
Desired behaviour
It could be desired that we have RPs bellow 1 year so we should allow for this option.
Task list
Additional context
No response
The text was updated successfully, but these errors were encountered: