[Biopython-dev] [Bug 2131] SProt.py fails to parse the current Swiss-Prot version 51.0

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Nov 2 18:41:46 UTC 2006


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


biopython-bugzilla at maubp.freeserve.co.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #4 from biopython-bugzilla at maubp.freeserve.co.uk  2006-11-02 13:41 -------
Fix checked into CVS, please reopen the bug if you run into problems.

http://cvs.biopython.org/cgi-bin/viewcvs/viewcvs.cgi/biopython/Bio/SwissProt/SProt.py?cvsroot=biopython

file Bio/SwissProt/SProt.py
Revision 1.34 made 2nd Nov 2006

This is the test script I used with the example file from comment 3 attachment
491

from Bio.SwissProt import SProt

#Works
rec_iter = SProt.Iterator(open("uniprot_sprot_f4.dat"), SProt.SequenceParser())
for record in rec_iter :
    print record.id
    print record.seq

#Failed
rec_iter = SProt.Iterator(open("uniprot_sprot_f4.dat"), SProt.RecordParser())
for record in rec_iter :
    print record


-- 
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