[Bioperl-guts-l] bioperl-live/Bio/OntologyIO obo.pm,1.11,1.12

Senduran Balasubramaniam sendu at dev.open-bio.org
Thu Jun 14 10:16:14 EDT 2007


Update of /home/repository/bioperl/bioperl-live/Bio/OntologyIO
In directory dev.open-bio.org:/tmp/cvs-serv22328/Bio/OntologyIO

Modified Files:
	obo.pm 
Log Message:
removed bad "new Bio::Module" syntax, replaced with "Bio::Module->new"

Index: obo.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/OntologyIO/obo.pm,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** obo.pm	26 Sep 2006 22:03:11 -0000	1.11
--- obo.pm	14 Jun 2007 14:16:12 -0000	1.12
***************
*** 465,469 ****
  sub _header {
      my $self                  = shift;
!     my $annotation_collection = new Bio::Annotation::Collection();
      my ( $tag, $value );
      my $line_counter = 0;
--- 465,469 ----
  sub _header {
      my $self                  = shift;
!     my $annotation_collection = Bio::Annotation::Collection->new();
      my ( $tag, $value );
      my $line_counter = 0;
***************
*** 512,516 ****
              }
  
!             my $header = new Bio::Annotation::SimpleValue( -value => $value );
              $annotation_collection->add_Annotation( $tag, $header );
  
--- 512,516 ----
              }
  
!             my $header = Bio::Annotation::SimpleValue->new( -value => $value );
              $annotation_collection->add_Annotation( $tag, $header );
  



More information about the Bioperl-guts-l mailing list