DiODeProject / MuMoT

Multiscale Modelling Tool - mathematical modelling without the maths
https://mumot.readthedocs.io/
GNU General Public License v3.0
21 stars 5 forks source link

initial state widgets forced to sum to 1 even if not appropriate / incorrect error message methodology used #317

Closed jarmarshall closed 5 years ago

jarmarshall commented 5 years ago

In _format_advanced_option() initial state widgets are forced to sum to 1 without checking if this is appropriate; if the system is not conserved _constantSystemSize == None or == False then user-provided values should not be altered

Additionally, the warning message is printed; the appropriate way to raise errors such as this is via the _errorMessage widget, accessed via _showErrorMessage()

joefresna commented 5 years ago

Problem with exceptions and warnings has a dedicated issue #352