-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Improve the warning on nddata.NDUncertainty.propagate
#16332
Labels
Comments
Thank you for reporting ! astropy/astropy/nddata/nduncertainty.py Line 404 in 0d4fc36
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Currently if a user tries to propagate errors (i.e.
nddata.NDUncertainty.propagate
) with an operation not currently supported (e.g. np.power
) it will error with a ValueErrorhowever, it would be better to be a
NotImplementedError
?The text was updated successfully, but these errors were encountered: