From de37b241b3c12dac7f400bbf5f86347b9be7dc6d Mon Sep 17 00:00:00 2001 From: Brian Osborne Date: Sun, 28 Sep 2014 12:26:48 -0400 Subject: [PATCH] Couple more minor edits ... --- Bio/OntologyIO/obo.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Bio/OntologyIO/obo.pm b/Bio/OntologyIO/obo.pm index 47a62dbf0..9b3741a7e 100644 --- a/Bio/OntologyIO/obo.pm +++ b/Bio/OntologyIO/obo.pm @@ -99,7 +99,8 @@ Address: =head2 CONTRIBUTOR Hilmar Lapp, hlapp at gmx.net - Chris Mungall, cjm at fruitfly.org + Chris Mungall, cjm at fruitfly.org + Brian Osborne, briano@bioteam.net =head1 APPENDIX @@ -134,7 +135,7 @@ use base qw(Bio::OntologyIO); Function: Creates a new dagflat parser. Returns : A new dagflat parser object, implementing Bio::OntologyIO. Args : -file => a single ontology flat file holding the - terms, descriptions and relationships + terms, descriptions and relationships -ontology_name => the name of the ontology; if not specified the parser will assign the name of the ontology as the default-namespace header value from the OBO file. @@ -185,7 +186,6 @@ sub _initialize { Returns : value of ontology_name (a scalar) Args : on set, new value (a scalar or undef, optional) - =cut sub ontology_name { @@ -252,7 +252,7 @@ sub parse { if ( !$term->identifier() || !$term->name() ) { $self->throw( "OBO File Format Error on line " . $self->{'_current_line_no'} - . " \nThe term does not have a id/name tag. This term will be ignored.\n" + . "\nThe term does not have a id/name tag. This term will be ignored." ); next; } @@ -715,7 +715,6 @@ sub _next_term { # Creates a Bio::Ontology::OBOterm object sub _create_term_object { - my ($self) = @_; my $term = $self->term_factory->create_object(); $term; -- 2.11.4.GIT