Subject: | subset parsing error |
The parser module doesn't seem to handle namespace subsets with spaces.
An example can be found in the OBO file:
http://psidev.cvs.sourceforge.net/viewvc/psidev/psi/mi/rel25/data/psi-
mi25.obo
The line:
subset: PSI-MI slim
Causes an error:
The subset 'PSI-MI' is not defined in the header! Check your OBO file
line '44' at /usr/local/pkg/perl-
5.8.8/lib/site_perl/5.8.8/OBO/Parser/OBOParser.pm line 302.
Looking at old versions of this ontology file the space has been in that
subset name for 2-3 years, so the fact it's existed that long without
being changed makes me think spaces are valid in this tag in the OBO
spec.
Thanks.