[Bioperl-l] Re: GuessSeqFormat problems

Andreas Kahari andreas.kahari at ebi.ac.uk
Tue Aug 16 05:56:25 EDT 2005


On Tue, Aug 16, 2005 at 10:42:20AM +0100, Andreas Kahari wrote:
[cut]
> Yes, in some cases.  For a format to "win", its test needs to
> be the "last one standing" after all the others have failed.

Looking at the code for the first time in some time, I realize
this is not how it is actually done, but almost.  If any one
line (one at the time, from the start and onwards) from the
input data matches only one format, then the guesser returns
that format as the format of the data.

Maybe it would be better if tests were ticked off the list as
they failed and never re-run?



Andreas

-- 
Andreas Kähäri
EMBL-EBI/ensembl

---{ www.embl.org }---{ www.ebi.ac.uk }---{ www.ensembl.org }---


More information about the Bioperl-l mailing list