Hi,

Further to a bug report by zhao guijun, I looked at the Format classes
and discovered that the exception is due to trailing whitespace in the
example Genbank file. Adding trailing whitespace to the EMBL version
causes the same problem. I've added a safer check for more sequence in
the stream which fixes this.

Trailing whitespace or whitespace between entries (e.g. where separate
files, each with trailing spaces, have been concatenated) are now
tolerated. Internal whitespace (between entries, not at the end of the
stream) causes a non-fatal warning to be issued.

-- 

-= Keith James - [EMAIL PROTECTED] - http://www.sanger.ac.uk/Users/kdj =-
The Sanger Centre, Wellcome Trust Genome Campus, Hinxton, Cambs CB10 1SA
_______________________________________________
Biojava-l mailing list  -  [EMAIL PROTECTED]
http://biojava.org/mailman/listinfo/biojava-l

Reply via email to