SpineOpt.jl icon indicating copy to clipboard operation
SpineOpt.jl copied to clipboard

When duration parameters are expected, check the data and issue an error

Open DillonJ opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Users frequently fall foul of duration parameters - either entering them as symbols (e.g. typing "1D" into the value field) or as floats.

Describe the solution you'd like Where parameters are expected to be durations, we should check and issue a helpful warning. The more complete solution is to implement allowable parameter types at toolbox level - but this issue occurs so frequently that we should also address this now at toolbox level.

Describe alternatives you've considered

Additional context For example https://github.com/spine-tools/SpineOpt.jl/discussions/652

DillonJ avatar May 31 '23 07:05 DillonJ