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
{{ message }}
Repository navigation
votable binary parsing appears to fail on null columns #8737
If you drop the 'CS' column (which is a null column), the table parses correctly, so it looks like the astropy votable is incorrectly handling the null column.
What do you mean by a null column? It looks like CS should be a string column and it doesn't look any different to say Morph? (in terms of type). Are all the cells empty?
Is it possible to have a version of this table in a non-binary format and see if you have the same problem parsing it? That would let us see if the bug is in binary-specific parser or not... 🤷♀
On Fri, May 24, 2019, 18:50 P. L. Lim ***@***.***> wrote:
Is it possible to have a version of this table in a non-binary format and
see if you have the same problem parsing it? That would let us see if the
bug is in binary-specific parser or not... 🤷♀
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8737?email_source=notifications&email_token=AABDCY25REMUMK6VYXHS35TPXAMD5A5CNFSM4HODG6E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWF6GLQ#issuecomment-495706926>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABDCY5E24XJEB4GJTUB2VLPXAMD5ANCNFSM4HODG6EQ>
.
Activity
astrofrog commentedon May 20, 2019
What do you mean by a null column? It looks like CS should be a string column and it doesn't look any different to say Morph? (in terms of type). Are all the cells empty?
keflavich commentedon May 20, 2019
Yes, the cells are empty.
pllim commentedon May 20, 2019
@tomdonaldson or @tboch , since you expressed interest in maintaining
io.votable, perhaps you'll be interested to take a look?pllim commentedon May 24, 2019
Is it possible to have a version of this table in a non-binary format and see if you have the same problem parsing it? That would let us see if the bug is in binary-specific parser or not... 🤷♀
keflavich commentedon May 24, 2019
pllim commentedon May 24, 2019
There is BINARY and BINARY2 -- Did you try both?
FWIW, the binary parse is here
astropy/astropy/io/votable/tree.py
Line 2603 in 51db6a6
keflavich commentedon May 24, 2019