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

Fix InvalidTableError for DI_STARS_EXEP and TD tables in ipac.nexsci.nasa_exoplanet_archive #3189

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

rickynilsson
Copy link
Contributor

Fixes issue #3090. Line 233 was comparing a table name already converted to lower case with a list of original table names (both upper and lower case). Now comparing lower case throughout.

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.62%. Comparing base (24bcb2d) to head (a10f569).
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3189   +/-   ##
=======================================
  Coverage   67.62%   67.62%           
=======================================
  Files         229      229           
  Lines       18594    18594           
=======================================
  Hits        12574    12574           
  Misses       6020     6020           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

I would say add the example from the bug report to the test suite and this is good to go.

NasaExoplanetArchive.query_criteria(table='DI_STARS_EXEP', select='*')

@rickynilsson
Copy link
Contributor Author

Thanks, @bsipocz! I didn't have time to get to it before I left the office today, but it was on my list for tomorrow. :)

@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2025

Ahh, sorry. I want to cut 0.4.9 either tonight or early tomorrow, so just figured there is not much point nitpicking on this instead of just pushing it through the finish line.

@bsipocz bsipocz merged commit 40872f7 into astropy:main Jan 24, 2025
11 checks passed
@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2025

Damn, I should not have rushed this merge, apparently a couple of remote data tests are failing now :(

@bsipocz
Copy link
Member

bsipocz commented Jan 24, 2025

This messes up the keplertimeseries queries. I feel that is an important enough case that I won't include this PR in the 0.4.9 release.

(Weirdly, this also generates a test failure with the regression test I added in the PR, all the while the query runs without issues in a python terminal).

@bsipocz bsipocz modified the milestones: v0.4.9, v0.4.10 Jan 24, 2025
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.

NASAExoplanetArchive returns InvalidTableError when attempting to query DI_STARS_EXEP
2 participants