[Bioperl-l] Added test for multiple fasta parsing

Jason Stajich jason@chg.mc.duke.edu
Fri, 10 Nov 2000 10:01:33 -0500 (EST)


This change breaks t/SeqIO.t test 4 ...

I did the following, and all tests work .  I think
there is probably a more elegant way, but I'll check this in if no one has
any suggestions.

../bio/bioperl/bioperl-live> cvs diff Bio/SeqIO/fasta.pm
Index: Bio/SeqIO/fasta.pm
===================================================================
RCS file: /home/repository/bioperl/bioperl-live/Bio/SeqIO/fasta.pm,v
retrieving revision 1.16
diff -r1.16 fasta.pm
106c106
<   local $/ = '>';
---
>   local $/ = "\n>";
127c127
<   
---
>   $id =~ s/^>//;


On Fri, 10 Nov 2000, Elia Stupka wrote:

> Hello folks,
> 
> I am sorry we were panic-busy over here for a while.
> I have now double-checked, the fasta parser could not parse multiple
> entries on a perfectly normal fasta file, I have used the multifa.seq file
> in the test suite to check.
> 
> I have now commented out that buggy check from the main trunk as well. I
> have also committed a multiple fasta parsing test, to prevent further bugs
> like this.
> 
> Elia Stupka
> 
> **************************
> tel:    +44 1223 49 44 31
> mobile: +44 7971 59 03 69
> fax:    +44 1223 49 44 68
> **************************
> 
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
> 

Jason Stajich
jason@chg.mc.duke.edu
http://galton.mc.duke.edu/~jason/
(919)684-1806 (office) 
(919)684-2275 (fax) 
Center for Human Genetics - Duke University Medical Center
http://wwwchg.mc.duke.edu/