-
Notifications
You must be signed in to change notification settings - Fork 1
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
Ontology parsing error adds extra column #32
Comments
This same error is likely to happen with other malformed edge values though, e.g., in
In this case, there's some weird parsing going on with an imported SNOMED term: https://bioportal.bioontology.org/ontologies/SNOMEDCT?p=classes&conceptid=247997008 Same result - wrong number of columns in that entry, pandas raises ParserError, merge fails. |
Here's another example from
This must have something to do with tabs - all the impacted values are missing "/t", but parsed literally rather than as a tab. |
Regenerating each transform with version as of commit 76b2709 appears to resolve the issue, e.g. with
|
Parsing
ABD
results in the edges including the following:The middle line is the issue - this breaks any merge in which these edges are included, raising a
pandas.errors.ParserError: Error tokenizing data. C error: Expected 7 fields in line 1017, saw 8
It looks like there's some truncation/extra whitespace in the id. This ontology has a class named
Transmission
so this is likely something with the prefixhttp://brd.bsvgateway.org/api/transmission/
ABD
has some other weirdness too, with lots of Error classes. See on Bioportal at https://bioportal.bioontology.org/ontologies/ABD/?p=classes&conceptid=rootThe text was updated successfully, but these errors were encountered: