Commits

James Taylor  committed 708bfbd

This fixes the fasta test for me, was in an infinite loop, Bob?

  • Participants
  • Parent commits 39d269c

Comments (0)

Files changed (1)

File lib/bx/seq/fasta.py

             else:
                 line = self.file.readline()
             if (line == ""): break
+            if not line:
+                break
             if (line.startswith(">")):
                 if (self.text != None):
                     if (currContig == contig):