[Bioperl-guts-l] bioperl-live/Bio/DB/Query GenBank.pm,1.21,1.22

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


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

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

Index: GenBank.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/DB/Query/GenBank.pm,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** GenBank.pm	19 Apr 2007 20:53:58 -0000	1.21
--- GenBank.pm	14 Jun 2007 14:16:11 -0000	1.22
***************
*** 27,31 ****
  
     # get a genbank database handle
!    my $gb = new Bio::DB::GenBank;
     my $stream = $gb->get_Stream_by_query($query);
     while (my $seq = $stream->next_seq) {
--- 27,31 ----
  
     # get a genbank database handle
!    my $gb = Bio::DB::GenBank->new();
     my $stream = $gb->get_Stream_by_query($query);
     while (my $seq = $stream->next_seq) {



More information about the Bioperl-guts-l mailing list