Skip to content

Conversation

@m-stclair
Copy link
Contributor

@m-stclair m-stclair commented Dec 10, 2022

closes #1555
Fixes #2599.

@m-stclair
Copy link
Contributor Author

hi @bsipocz -- I've reimplemented these features, added basic test coverage for them, updated other tests as necessary, and updated docstrings. I'm assuming the fast CI failures where the pipeline can't find tox are because this is a draft; if not, I have no idea how to interrogate those. What else do you think needs to be done before I mark this as ready for review?

@bsipocz
Copy link
Member

bsipocz commented Dec 11, 2022

It's a weird and new failure about tox, the draft status of the PR shouldn't affect the CI this way. I'll look into it and fix it separately.

If the content is ready, then do mark it ready for review, and we can ask @mkelley to do a first round of review while I'm dealing with CI.
(Tests can be checked locally, including the remote tests, etc.)

@bsipocz bsipocz added this to the v0.4.7 milestone Dec 11, 2022
@bsipocz
Copy link
Member

bsipocz commented Dec 12, 2022

@m-stclair - could you rebase? CI has been fixed, but I cannot step in as a maintainer to do the rebase as the PR was opened from an org fork rather than from yours.

@m-stclair
Copy link
Contributor Author

m-stclair commented Dec 12, 2022

Ty for fixing the tox issue. Tests pass locally. I have rebased and am now marking this ready for review.

@m-stclair m-stclair marked this pull request as ready for review December 12, 2022 02:04
@codecov
Copy link

codecov bot commented Dec 12, 2022

Codecov Report

Merging #2625 (671f8a3) into main (a867890) will decrease coverage by 0.37%.
The diff coverage is 58.53%.

❗ Current head 671f8a3 differs from pull request most recent head 5152eed. Consider uploading reports for the commit 5152eed to get more accurate results

@@            Coverage Diff             @@
##             main    #2625      +/-   ##
==========================================
- Coverage   64.33%   63.96%   -0.38%     
==========================================
  Files         130      130              
  Lines       16836    16870      +34     
==========================================
- Hits        10832    10791      -41     
- Misses       6004     6079      +75     
Impacted Files Coverage Δ
astroquery/jplhorizons/core.py 65.40% <58.53%> (-0.22%) ⬇️
astroquery/cds/core.py 22.91% <0.00%> (-45.84%) ⬇️
astroquery/heasarc/core.py 75.48% <0.00%> (+1.69%) ⬆️

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

@m-stclair
Copy link
Contributor Author

The codecov misses are pretty small things, but let me know if it's important to cover them and I'll add a couple of little unit tests!

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.

Some minor nitpicks, and please add a changelog entry.

Also, please update the narrative docs, changes here have effect on some of the doctest expectations there.

@m-stclair
Copy link
Contributor Author

will add a changelog entry and update narrative docs tomorrow or tuesday.

@bsipocz
Copy link
Member

bsipocz commented Dec 12, 2022

The codecov misses are pretty small things, but let me know if it's important to cover them and I'll add a couple of little unit tests!

codecov is red herring here, it doesn't look for the changes with the remote tests, so it misses the actual ~2% test increase

@m-stclair
Copy link
Contributor Author

on codecov: got it, makes sense

@bsipocz bsipocz requested a review from mkelley December 12, 2022 04:34
@m-stclair
Copy link
Contributor Author

@bsipocz , I believe I've addressed all your requests.

@m-stclair
Copy link
Contributor Author

@eerovaher , I believe I've addressed all your suggestions. I do not understand why the readthedocs build is now failing, but it does not appear to be related to any actual code changes.

@eerovaher
Copy link
Member

I don't really understand why the documentation build failed. Perhaps if you squash some of the commits (not necessarily down to one) and then force-push to GitHub the next documentation build might succeed.

@bsipocz
Copy link
Member

bsipocz commented Dec 13, 2022

I do not understand why the readthedocs build is now failing, but it does not appear to be related to any actual code changes.

This is a weird problem, I don't think I saw it before (the commit hashes match, yet RTD complains that it cannot check it out). A restart didn't resolve it, so I would say wait it out while I investigate whether other repos are affected, too, or try with the squashing idea.

@bsipocz
Copy link
Member

bsipocz commented Dec 13, 2022

OK, leave the RTD for now, this is a more widespread problem and not much we can do about it in this PR.

@earthshrink
Copy link

hi @m-stclair, in first comment above, did you mean closes #2599?

@m-stclair
Copy link
Contributor Author

m-stclair commented Dec 15, 2022

No, it's just the confusing GitHub convention where PRs and issues are notated the same way, and this is PR 2625. When I opened this PR I hadn't noticed you'd opened that issue. However, it's definitely true that this closes #2599. Editing first message to add that.

@bsipocz
Copy link
Member

bsipocz commented Dec 15, 2022

Sorry, that was my bad, I indeed meant to add #2599 there and not the PR's number. Thanks for spotting it. 😄

@m-stclair
Copy link
Contributor Author

m-stclair commented Dec 15, 2022 via email

@bsipocz
Copy link
Member

bsipocz commented Dec 15, 2022

Yes, your original PR (#1929) predates all the new issues. And based on that, this would also address #1555

@bsipocz
Copy link
Member

bsipocz commented Jan 5, 2023

Thanks @m-stclair!

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.

Topographic position disallowed in vectors query but would be useful for tracking KeyError: 'Column already exists' when using Horizons

4 participants