update the NED queries page by cwang2016 · Pull Request #3606 · astropy/astroquery · GitHub
Skip to content

update the NED queries page#3606

Open
cwang2016 wants to merge 7 commits into
astropy:mainfrom
cwang2016:ipac_ned_dbr
Open

update the NED queries page#3606
cwang2016 wants to merge 7 commits into
astropy:mainfrom
cwang2016:ipac_ned_dbr

Conversation

@cwang2016

Copy link
Copy Markdown

Updates on NED web service calls including the parts of the core functions, testing and documentation based on NED N36.1 release
The changes are made on astroquery/ipac/ned/core.py, astroquery/ipac/ned/tests/, and docs/ipac/ned/.

NED API call updates including testing and documentation based on NED N36.1 release
@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

@cwang2016

Copy link
Copy Markdown
Author

Regarding the ReadTheDocs build failure: no warnings or errors specific to docs/ipac/ned/ned.rst were found locally (make html SPHINXOPTS="-W" returned clean). Could this be related to a pre-existing issue rather than changes in this PR? Please advise.

@bsipocz

bsipocz commented Jun 9, 2026

Copy link
Copy Markdown
Member

I get that warning locally, too and I've double checked that we don't really expose the exceptions into the public API.

@bsipocz bsipocz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still need to do actual code review, and will also suggest to squash out a few commits (the ones that added and then removed the bigger test files); but here is just the fix for the docs builld issue

Comment thread docs/ipac/ned/ned.rst Outdated
Length = 190 rows

All above queries return results in a `~astropy.table.Table` or raise a Exception error (i.e.
`~astroquery.exceptions.RemoteServiceError`) if the service returns a query error.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't expose this in the public API, you can either keep it within double backticks or remove the parenthesis altogether.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed per the comment.

Comment thread docs/ipac/ned/ned.rst Outdated
Comment on lines +277 to +290

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can/should drop this section; we don't need to teach users basic error/warning handling. Though, if you think it's necessary for NED users, then I would recommend to show an example where you except on specific Exceptions rather than caption it too generically (which we never recommend as a good coding practice)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this part is removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants