[Biopython-dev] [Bug 2323] New functions: GCG Checksum and CRC64

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Sat Aug 11 06:15:03 UTC 2007


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





------- Comment #28 from mdehoon at ims.u-tokyo.ac.jp  2007-08-11 02:15 EST -------
[Comment 22 from Peter]
> I've started to write a test case for the code now in Bio/SeqUtils/CheckSum.py
> and noticed that while crc64, gcg and seguid will cope with both strings and
> Seq objects, crc32 will only cope with strings.
> 
> Any objections to me fixing this like so:

[Comment 24 from Michiel]
> A better solution would be for Seq to inherit from str, instead of Seq having
> str as a member. Then we don't have to modify crc32, and other code in
> Biopython will also become simpler.

[Comment 25 from Peter]
> Changing the Seq object to be a subclass of string might be nice... 
> More importantly, wouldn't this dramatic change break a lot of
> existing scripts? Probably something for the mailing list!

OK, so I have committed your solution from comment #22 to CVS.


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