[Biopython-dev] [Bug 2561] SeqRecord format method to get a string in a given file format

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat Aug 2 13:57:18 UTC 2008


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #981 is|0                           |1
           obsolete|                            |




------- Comment #10 from biopython-bugzilla at maubp.freeserve.co.uk  2008-08-02 09:57 EST -------
Created an attachment (id=982)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=982&action=view)
Patch to Bio/SeqRecord.py and Bio/Align/Generic.py (revised)

Revised patch, using .format() as the method name (with no default), and adding
the __format__ method too (which defaults to calling __str__ if no format is
given).

[Once we settle on the naming, and check this in, I'll also update the unit
tests to use this new functionality]


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