[Biopython-dev] [Bug 3147] New: AlignIO.parse doesn't raise StopIteration on empty files

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Oct 20 06:22:56 UTC 2010


http://bugzilla.open-bio.org/show_bug.cgi?id=3147

           Summary: AlignIO.parse doesn't raise StopIteration on empty files
           Product: Biopython
           Version: 1.55
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: mdehoon at ims.u-tokyo.ac.jp


For example:

$ rm -rf test.aln
$ touch test.aln
$ python
Python 2.7 (r27:82500, Jul  6 2010, 13:27:45)
[GCC 4.3.4 20090804 (release) 1] on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from Bio import AlignIO
>>> records = AlignIO.parse(open("test.aln"), 'clustal')
>>> records.next()
>>>


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Biopython-dev mailing list