Skip to content

Fix for CDMS issue 2409: mis-parsed GUP#2411

Merged
bsipocz merged 6 commits into
astropy:mainfrom
keflavich:issue2409
May 23, 2022
Merged

Fix for CDMS issue 2409: mis-parsed GUP#2411
bsipocz merged 6 commits into
astropy:mainfrom
keflavich:issue2409

Conversation

@keflavich

@keflavich keflavich commented May 18, 2022

Copy link
Copy Markdown
Contributor

This covers a case that is not described in the documentation: GUP starts at a different character than I had assumed, and it uses letters for numerical values >10

https://cdms.astro.uni-koeln.de/classic/predictions/description.html

fixes #2409

CDMS.query_lines(200*u.GHz, 230.755608*u.GHz, molecule='HC7N',parse_name_locally=True)
"""

tbl = CDMS.query_lines(200*u.GHz, 230.755608*u.GHz, molecule='HC7N', parse_name_locally=True)

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 wonder whether this should be a remote test instead? (or a remote as well?)

@bsipocz

bsipocz commented May 18, 2022

Copy link
Copy Markdown
Member

Ohh, test failure is relevant, too.

@pep8speaks

pep8speaks commented May 20, 2022

Copy link
Copy Markdown

Hello @keflavich! 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 2022-05-23 00:56:52 UTC

@codecov

codecov Bot commented May 20, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2411 (47f1257) into main (2922473) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 47f1257 differs from pull request most recent head 832f517. Consider uploading reports for the commit 832f517 to get more accurate results

@@           Coverage Diff           @@
##             main    #2411   +/-   ##
=======================================
  Coverage   62.96%   62.97%           
=======================================
  Files         133      133           
  Lines       17287    17290    +3     
=======================================
+ Hits        10885    10888    +3     
  Misses       6402     6402           
Impacted Files Coverage Δ
astroquery/linelists/cdms/core.py 95.20% <100.00%> (+0.11%) ⬆️

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

@bsipocz bsipocz added this to the v0.4.7 milestone May 23, 2022

@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 plan to just add this PR number to the existing changelog for the previous issue, but feel free to add a separate entry if you feel it's useful to distinguish them.

@bsipocz bsipocz merged commit b1eabf6 into astropy:main May 23, 2022
@bsipocz

bsipocz commented May 23, 2022

Copy link
Copy Markdown
Member

Thanks @keflavich!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: [astroquery.linelists] wrong Elo and Gup while querying molecules with large Gup

3 participants