Is your feature request related to a problem?
According to flat file format 1.4, the ontology header tag should be lower case:
ontology
The ID space of this ontology. This should correspond to to the ID prefix of the terms that belong to that ontology, translated to lowercase. For GO, the value of this field will be "go". For the cell ontology (i.e. the ontology that contains CL:0000001), the value will be "cl".
Describe the solution you would like!
So we should accept both upper and lower case (and mixed) but always transfer it to lower case afterwards.
|
loop en terms typedefs formatVersion dataVersion ((rxOntology.Match x).Groups["ontology"].Value |> Some) date savedBy autoGeneratedBy subsetdefs imports synonymtypedefs idSpaces defaultRelationshipIdPrefix idMappings remarks treatXrefsAsEquivalents treatXrefsAsGenusDifferentias treatXrefsAsRelationships treatXrefsAsIsAs relaxUniqueIdentifierAssumptionForNamespaces relaxUniqueLabelAssumptionForNamespaces (lineNumber + 1) |
to e.g. ((rxOntology.Match x).Groups["ontology"].Value.ToLowerCase() |> Some).
Additional context!
No response
Is your feature request related to a problem?
According to flat file format 1.4, the ontology header tag should be lower case:
Describe the solution you would like!
So we should accept both upper and lower case (and mixed) but always transfer it to lower case afterwards.
Ontology.NET/src/Ontology.NET/OBO/OboOntology.fs
Line 146 in 0bb9706
to e.g.
((rxOntology.Match x).Groups["ontology"].Value.ToLowerCase() |> Some).Additional context!
No response