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

BUG: Fix SDSS parsing to directly use Table.read #2518

Merged
merged 3 commits into from
Sep 16, 2022

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Sep 11, 2022

The previous solution raised a numpy VisibleDeprecationWarning, so this PR switches away from using np.genfromtxt and then converting to a Table in favour of using the ascii reader to get a Table in one step.

@codecov
Copy link

codecov bot commented Sep 11, 2022

Codecov Report

Merging #2518 (43926ec) into main (af8d510) will decrease coverage by 0.00%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #2518      +/-   ##
==========================================
- Coverage   63.08%   63.07%   -0.01%     
==========================================
  Files         133      133              
  Lines       17313    17310       -3     
==========================================
- Hits        10922    10919       -3     
  Misses       6391     6391              
Impacted Files Coverage Δ
astroquery/sdss/core.py 91.98% <75.00%> (-0.09%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@bsipocz bsipocz force-pushed the warnings_remove_ignore_np_deprecation branch 3 times, most recently from 4b21c02 to c547a29 Compare September 11, 2022 10:23
@bsipocz bsipocz force-pushed the warnings_remove_ignore_np_deprecation branch from cf53c33 to 43926ec Compare September 12, 2022 16:46
@bsipocz bsipocz merged commit 4362450 into astropy:main Sep 16, 2022
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.

None yet

1 participant