-
-
Notifications
You must be signed in to change notification settings - Fork 408
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
Maintenance for the VizieR module #3028
Conversation
73595e7
to
0ffd5d4
Compare
Strange. Is there no action running the remote tests? I know that the UCD test fails. |
Nope, we run those once a week (and the job is always failing). In practice I run the relevant remotes before merging a PR to spot any new failures in the affected modules. |
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.
Thank you so much @ManonMarchand, I really love the cleanups and that the remote tests got some love and care.
None of my comments are blockers, but I leave the PR open for a few more days in case you want to reflect on any of them here.
Sure, I'll do these modifications next week, thanks for the review 🙂 |
f4d28a3
to
0ffd5d4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3028 +/- ##
==========================================
- Coverage 67.35% 67.17% -0.18%
==========================================
Files 236 231 -5
Lines 18320 18247 -73
==========================================
- Hits 12339 12258 -81
- Misses 5981 5989 +8 ☔ View full report in Codecov by Sentry. |
switched to a more specific example than kang 51 because there are often new catalogs matching this
we don't lose information, but ASU-style queries cannot get a dictionnary in the POST request's data
0ffd5d4
to
9e85f4e
Compare
Should be all good? |
That's more like a future looking wishlist item at least for the public API stuff as you said for some functionality it doesn't even make sense. |
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.
I see 3 remote test failures, but those are also present on main
, so will go ahead and merge this now.
Also, there is a doctest failure which I don't see why failing, it maybe a doctestplus bug. Will report it upstream for now.
Thanks @ManonMarchand! |
Hi astroquery,
What the PR does
This is just a maintenance PR. It does:
-meta.all
to-meta
infind_catalogs
(the extended information is not in the<RESOURCE>
tag anyway, so it is not used by the method). This increases the speed of this method and reduces the size of the downloaded information a lotInternally, to use the
-meta
option that has no value (a weird thing of the ASU protocol) I had to change the post request in find_catalog. This has the added benefit that we can now use the-obsolete
option rather than filtering afterwards.There is no change to the API.
On the ucd test failure
This is also there on main. It is an upstream issue with the votable output (discovered thanks to this PR), most likely introduced in VizieR v7.33.3 . It is already solved in the beta version of VizieR, so the fix will be here automatically with the next release upstream.