Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add section on raising errors from failing model runs #305

Open
tomalrussell opened this issue Feb 11, 2019 · 0 comments
Open

Add section on raising errors from failing model runs #305

tomalrussell opened this issue Feb 11, 2019 · 0 comments

Comments

@tomalrussell
Copy link
Member

Add guidance to nismod.github.io and follow up in each of the models:

If the e.g. transport and energy models fail, then errors are not caught in the runtime
environment and the programme exits silently. Errors should be raised, with messages passed to
stderr so that our subprocess recognises that the programme has exited abnormally.

We need to decide on what to do in the following cases:

  • model is infeasible - it hasn't been possible to solve the problem
  • data is missing so the model cannot run
  • inputs are out of range or invalid (e.g. negative efficiency or cost)
@willu47 willu47 added this to the Usability milestone Apr 26, 2019
@tomalrussell tomalrussell removed this from the Usability milestone Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants