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
If in invalid parameter is passed to the model, an exception is raised as expected, but the invalid parameter still gets added to the parameter list. As a result, subsequent attempts to set parameters always fail as the entire saved parameter list is checked each time.
Possible solution: check the validity of newly passed parameters only (both via load_input_file() and set_parameters()) and do not set any parameters if any are invalid. Update the exception message to be clear that no parameters were set.
The text was updated successfully, but these errors were encountered:
If in invalid parameter is passed to the model, an exception is raised as expected, but the invalid parameter still gets added to the parameter list. As a result, subsequent attempts to set parameters always fail as the entire saved parameter list is checked each time.
Possible solution: check the validity of newly passed parameters only (both via load_input_file() and set_parameters()) and do not set any parameters if any are invalid. Update the exception message to be clear that no parameters were set.
The text was updated successfully, but these errors were encountered: