-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Cadc and Heasarc Kwarg refactors #2671
Conversation
nkphysics
commented
Feb 16, 2023
- Did refactors to make kwargs keyword only for Heasarc and Cadc.(Use keyword only arguments #1746)
- Heasarc' test_mission_cols was failing where it was looking for the incorrect column name (SEARCH_OFFSET instead of SEARCH_OFFSET)
- Heasarc also had doc failures again with docs which were addressed before MAINT: Fixing HEASARC and IMCCE docs issue #2652, so added an ignore_output to the doctest in question which was posing issues. Seems to be an issue on integrals end
There seems to be a discrepancy between the way SEARCH_OFFSET is being returned. On my machine test_mission_cols fails since the column returned is SEARCH_OFFSET_, rather than _SEARCH_OFFSET which is how it is being returned on the ci runner. |
037067b
to
50a1e52
Compare
Removed this and tests passed here. They're still failing locally for me for some reason. Could be the python version, maybe something might have been cached from some of my other work that uses astroquery as a dep (although unlikely cause I run everything in its own venv). |
Codecov Report
@@ Coverage Diff @@
## main #2671 +/- ##
=======================================
Coverage 69.17% 69.17%
=======================================
Files 304 304
Lines 22524 22524
=======================================
Hits 15580 15580
Misses 6944 6944
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
cc @andamian - to confirm you're OK with this for cadc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
I'll rebase though to get rid of the merge commit, after we got the cadc approval, too.
@nkphysics - The usual way to keep a branch up-to-date compared to the default branch is done with a rebase, rather than a merge/pull, which comes easier if you branch out from "upstream"'s main rather than your fork's main. (In fact, I don't even keep my forks main synced up, in fact even got rid of it). |
Looks good to me. The only thing I suggest is to set the milestone to |
Version numbers here mean nothing really, but I hear your suggestion that the next one should be 0.5 :) |
Gotcha, thanks for the guidance. |
514cd66
to
6eb5dc4
Compare
Thanks @nkphysics! |