-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Improve documentation of handing non-finite fitting data #13257
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
Conversation
a2edcd6
to
0a1416a
Compare
0a1416a
to
77f609e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's good addition. Only flagging one work with might by a typo (but I'm not a native English speaker, if you confirm that's intentional, that's also OK).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@hamogu , does this look good to you now? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is slightly less confusing to put "for 1D" or "for 2D" before the example, for those who speed-read through documentation.
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
Co-authored-by: Larry Bradley <larry.bradley@gmail.com>
Thanks! 😌 |
Yay, backport label appears to work again! |
…257-on-v5.1.x Backport PR #13257 on branch v5.1.x (Improve documentation of handing non-finite fitting data)
Description
This PR addresses the changes decided upon for astropy during an offline discussion of astropy/photutils#1345, which amount to adding documentation how to resolve the error and an improved error message.
Checklist for package maintainer(s)
This checklist is meant to remind the package maintainer(s) who will review this pull request of some common things to look for. This list is not exhaustive.
Extra CI
label.no-changelog-entry-needed
label. If this is a manual backport, use theskip-changelog-checks
label unless special changelog handling is necessary.astropy-bot
check might be missing; do not let the green checkmark fool you.backport-X.Y.x
label(s) before merge.