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

more informative error reporting #58

Open
saravkin opened this issue Aug 28, 2024 · 0 comments
Open

more informative error reporting #58

saravkin opened this issue Aug 28, 2024 · 0 comments

Comments

@saravkin
Copy link
Member

Some users may do unexpected things, like have NA values in SDs. In this case, we should error out in an informative way, and tell them that they cannot have NAs (or e.g. <= 0 values). Currently the resulting error is hard for them to interpret:

[dir]/miniconda3/envs/mrtool_0.0.1/lib/python3.7/site-packages/limetr/init.py:70: RuntimeWarning: invalid value encountered in square
self.V = S**2
Error in py_call_impl(callable, dots$args, dots$keywords) :
AssertionError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant