biopython/biopython — pull request #182 by kblin (2013-05-25 09:55:06+00:00)
Title: SearchIO: Correctly parse empty consensus lines in hmmer2 parser

Hmmer2TextParser.read_next() usually reads over lines only containing
whitespace. The original code to deal with the consensus line would already
turn off the strip() call, so the consensus lines would come out in the
correct length. However, if the consensus line was completely empty,
read_next() would erroneously skip over the consensus line.
This fix disables the empty line skip when whitespace stripping is
turned off.

Signed-off-by: Kai Blin