Skip to content

BUG: fixes issues with aliases for multi star systems#2467

Closed
rickynilsson wants to merge 4 commits into
astropy:mainfrom
rickynilsson:fix_issue_2357
Closed

BUG: fixes issues with aliases for multi star systems#2467
rickynilsson wants to merge 4 commits into
astropy:mainfrom
rickynilsson:fix_issue_2357

Conversation

@rickynilsson

@rickynilsson rickynilsson commented Jul 13, 2022

Copy link
Copy Markdown
Contributor

Stability improvements to query_aliases() that also addresses bug that made method retrieve no aliases for multiple star systems.

fixes #2357

@codecov

codecov Bot commented Jul 14, 2022

Copy link
Copy Markdown

Codecov Report

Merging #2467 (a1af50f) into main (f2d0bd2) will decrease coverage by 0.00%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main    #2467      +/-   ##
==========================================
- Coverage   62.92%   62.92%   -0.01%     
==========================================
  Files         133      133              
  Lines       17302    17302              
==========================================
- Hits        10888    10887       -1     
- Misses       6414     6415       +1     
Impacted Files Coverage Δ
...roquery/ipac/nexsci/nasa_exoplanet_archive/core.py 56.84% <90.90%> (-0.42%) ⬇️

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

@rickynilsson

Copy link
Copy Markdown
Contributor Author

@bsipocz - There's a slight decrease in code coverage for this patch, but hopefully that should be okay.

@bsipocz bsipocz added this to the v0.4.7 milestone Jul 20, 2022
@bsipocz bsipocz changed the title Fix issue 2357 BUG: fixes issues with aliases for multi star systems Jul 20, 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 can confirm that the bug from the issue has been fixed, but ideally, we would need some more tests, too that fail on the current master, but will pass with this PR. It could go into as a remote test, e.g. the one-liner from the bug report would be enough.

The PR also needs a rebase to remove the first update commit of the fork.

Comment thread CHANGES.rst
- The deprecated methods ``query_planet()`` and ``query_star()`` have been removed.

- Stability improvements to ``query_aliases()`` that also addresses bug that made
method retrieve no aliases for multiple star systems. [#2357]

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.

fyi: number has to be the PR number rather than the issue

@bsipocz

bsipocz commented Sep 1, 2022

Copy link
Copy Markdown
Member

This got closed in favour of #2506

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.

Nasa Exoplanet Archive query_aliases fails for multiple star systems

2 participants