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
Different parameters have a variety of different methods which perform validation, e.g. things like _check_value, _checkBounds, _check, which are called inside the set methods. This makes it impossible for external code to use the parameter validation, e.g. to perform validation of the output on output methods (see #299). I would propose that each Parameter type should have a public validate method, which performs all the applicable validation calling the various current private methods if necessary.
The text was updated successfully, but these errors were encountered:
Different parameters have a variety of different methods which perform validation, e.g. things like
_check_value
,_checkBounds
,_check
, which are called inside the set methods. This makes it impossible for external code to use the parameter validation, e.g. to perform validation of the output on output methods (see #299). I would propose that each Parameter type should have a publicvalidate
method, which performs all the applicable validation calling the various current private methods if necessary.The text was updated successfully, but these errors were encountered: