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 OAC parsing issue #2423

Merged
merged 3 commits into from
Jun 3, 2022
Merged

BUG: Fix OAC parsing issue #2423

merged 3 commits into from
Jun 3, 2022

Conversation

bsipocz
Copy link
Member

@bsipocz bsipocz commented Jun 1, 2022

This is to fix #1401 as well as to fix the now passing, previously xfailing tests.

First I was thinking of removing the data_format kwarg as it shouldn't be the concern of the users of which data format to receive the query response, but parsing the json into an astropy table is not trivial without pulling in pandas as a dependency. So I opted for a regex fix instead.

@bsipocz bsipocz added this to the v0.4.7 milestone Jun 1, 2022
@bsipocz bsipocz mentioned this pull request Jun 1, 2022
28 tasks
@codecov
Copy link

codecov bot commented Jun 1, 2022

Codecov Report

Merging #2423 (e8acce3) into main (be0938f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #2423   +/-   ##
=======================================
  Coverage   62.97%   62.97%           
=======================================
  Files         133      133           
  Lines       17290    17292    +2     
=======================================
+ Hits        10888    10890    +2     
  Misses       6402     6402           
Impacted Files Coverage Δ
astroquery/oac/core.py 75.53% <100.00%> (+0.35%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

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.

OAC csv parsing error
1 participant