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
Provide for a cleaner API for querying NASA archive #1606
Conversation
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.
Please add tests to replace those removed.
astroquery/nasa_exoplanet_archive/tests/test_nasa_exoplanet_archive_remote.py
Show resolved
Hide resolved
Hello @sashank27! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2019-12-30 17:03:30 UTC |
8111f91
to
6e48648
Compare
Codecov Report
@@ Coverage Diff @@
## master #1606 +/- ##
==========================================
- Coverage 62.91% 62.83% -0.08%
==========================================
Files 185 185
Lines 14956 14976 +20
==========================================
+ Hits 9409 9410 +1
- Misses 5547 5566 +19
Continue to review full report at Codecov.
|
lgtm! If you want to add a changelog entry, I'll merge this afterward, otherwise I'll merge next time I have access to command line (I'm writing this from mobile, so I can't easily add the changelog entry myself now) |
@keflavich what about the coverage? Also, do @bsipocz also need to review this? |
Coverage isn't an issue; we generally see reduction in coverage for any new features. We don't generally require multiple reviews. |
astroquery/nasa_exoplanet_archive/tests/test_nasa_exoplanet_archive_remote.py
Show resolved
Hide resolved
@keflavich @bsipocz thanks for the support! |
Hi all – this PR is causing backwards compatibility failures because it removes the |
If I understand correctly, Can we re-implement |
As per the discussions in #1351 and #1605, refactor the NASA exoplanet API to query for a specific planet (using
query_planet()
) as well as for host stellar system (usingquery_star()
), using their API.This prevents unnecessary hacking with the downloaded full table.