Skip Menu |

This queue is for tickets about the onto-perl CPAN distribution.

Report information
The Basics
Id: 71505
Status: rejected
Priority: 0/
Queue: onto-perl

People
Owner: Nobody in particular
Requestors: perl [...] luther.ca
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.35
Fixed in: (no value)



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.
Hi, subset names cannot have a whitespace, c.f. http://sourceforge.net/mailarchive/forum.php?thread_name=A48C3367-874D-42E2-9120-C791D65D75AB%40lbl.gov&forum_name=obo-format http://berkeleybop.org/~cjm/obo2owl/obo-syntax.html MI has to be fixed. cheers, Erick On Thu Oct 06 19:28:31 2011, LAIRDM wrote: Show quoted text
> 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.