You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example we show in the documentation issues a W02 warning. Is there anything we can do about it? It's not like the users can, so it should either be captured in the library code itself, or the example reworked so it's not being issued to begin with
from pyvo import registry
resources = registry.search(registry.UCD("src.redshift"), registry.Freetext("supernova"))
resources[4].get_tables()
warning:
/Users/bsipocz/munka/devel/pyvo/pyvo/io/vosi/vodataservice.py:836: W02: ?:?:?: W02: '' is not a valid datatype according to the VOSI spec
vo_warn(W02, value, self._config, self._pos)
Out[4]: {'J/A+A/437/789/table2': <Table name="J/A+A/437/789/table2">... 19 columns ...</Table>}
The text was updated successfully, but these errors were encountered:
On Tue, Sep 20, 2022 at 01:59:09PM -0700, Brigitta Sipőcz wrote:
OK, so this one actually came up in the PR review, and is something upstream:
#289 (comment)
I'll add the ignore warnings for the doctests, yet would encourage
to think about using an example that doesn't throw the warning.
That's a minor VizieR bug; they don't have types on their generated
columns _ra and _de at this point. I'll ping them -- let's get this
fixed upstream rather than do local workarounds.
Having said that, it's a good thing I looked at these docs again --
PR coming up...
The example we show in the documentation issues a W02 warning. Is there anything we can do about it? It's not like the users can, so it should either be captured in the library code itself, or the example reworked so it's not being issued to begin with
cc @msdemlei
Code:
warning:
The text was updated successfully, but these errors were encountered: