[Biopython-dev] [Bug 1971] Bio.SeqUtils.GC123 raises ZeroDivisionError on lower case sequence

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Mar 16 18:00:25 UTC 2006


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





------- Comment #1 from bill at barnard-engineering.com  2006-03-16 13:00 -------
Created an attachment (id=297)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=297&action=view)
This simple patch permits GC123 to handle a lower case sequence

Additionally, I removed a variable named l ("ell") which is only used once in a
range statement where it strongly resembles a 1 ("one"). I replaced l in the
range statement with its value, len(seq).




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