Open Zethson opened 1 month ago
Dear @jamesamcl
I'm sorry for asking you directly here and pinging, but since you assigned yourself to this issue, I was wondering whether you already had a chance to look into it.
Thank you very much!
It seems Pronto is failing on an blank string in a hasDbXref
property:
<owl:Class rdf:about="http://www.ebi.ac.uk/efo/EFO_0022680">
<rdfs:subClassOf rdf:resource="http://purl.obolibrary.org/obo/CL_0000010"/>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0001000"/>
<owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/NCBITaxon_9606"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0001000"/>
<owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/UBERON_0000178"/>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0001000"/>
<owl:someValuesFrom rdf:resource="http://www.ebi.ac.uk/efo/EFO_0000324"/>
</owl:Restriction>
</rdfs:subClassOf>
<obo:IAO_0000115>Human-human somatic cell hybrid cell line, established by PEG-mediated fusion of the B-lymphoblastoid cell line LCL 721.174 with an 8-azaguanine and ouabain-resistant variant of the T-LCL CEM. Subclone of the T1 cell line which has lost both CEM(R)-derived copies of chromosome 6</obo:IAO_0000115>
<obo:IAO_0000117>Kalpana Panneerselvam</obo:IAO_0000117>
<oboInOwl:hasDbXref> </oboInOwl:hasDbXref>
<oboInOwl:hasDbXref>BTO:0003771</oboInOwl:hasDbXref>
<oboInOwl:hasDbXref>CLO:0009242</oboInOwl:hasDbXref>
<oboInOwl:hasDbXref>RRID:CVCL_2211</oboInOwl:hasDbXref>
<rdfs:label>T2</rdfs:label>
</owl:Class>
Pronto should probably just ignore this and move on rather than crashing, but we can also fix it in EFO.
@zoependlington
Attempting to parse EFO 3.67.0 from http://www.ebi.ac.uk/efo/releases/v3.67.0/efo.owl using Pronto, which is the defacto standard in Python, results in an error.
Note that all past versions including 3.66.0 still work.