njoy / NJOY2016

Nuclear data processing with legacy NJOY
https://www.njoy21.io/NJOY2016
Other
96 stars 86 forks source link

Added an error message to detect zero awp values for non photons #145

Closed whaeck closed 4 years ago

whaeck commented 4 years ago

This pull request "fixes" issue #144 in that it allows NJOY to gracefully exit without a stack trace and provide some information on where the issue is.

It is impossible to recover from this error, unless we assign atomic mass values ourselves. I consider this an error in the evaluation and it should be fixed accordingly.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at ?% when pulling ef41db22413aa8deb541c4813b924e0a61c53ca2 on fix/tendl-zero-awr into e2d4c849db17835a865a2164896c268849aec085 on master.

whaeck commented 4 years ago

It would actually be nice if we could also test for failures in our test suite :-)