[Biopython-dev] [Bug 2570] record2title bug in SeqIO/FastaIO

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Mon Aug 25 04:11:05 UTC 2008


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





------- Comment #3 from chris.lasher at gmail.com  2008-08-25 00:11 EST -------
Created an attachment (id=988)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=988&action=view)
Script demonstrating NameError bug with record2title

See the attached brief script with CVS version 1.11 of FastaIO.py versus 1.12.
This is the traceback I get with 1.11:

Traceback (most recent call last):
  File "fastaiorec2titlebroken.py", line 30, in <module>
    writer.write_record(record)
  File "/usr/local/lib/python2.5/site-packages/Bio/SeqIO/FastaIO.py", line 116,
in write_record
    title=self.clean(record2title(record))
NameError: global name 'record2title' is not defined


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