[Biopython-dev] [Bug 2374] Uppdated lcc code.

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Wed Sep 26 08:03:56 UTC 2007


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





------- Comment #2 from biopython-bugzilla at maubp.freeserve.co.uk  2007-09-26 04:03 EST -------
Could you change the docstrings to follow PEP 257 more closely?
http://www.python.org/dev/peps/pep-0257/

In particular I'd like it to:
* explicitly say if the input can be either a Seq object or a plain string.
* state wsize should be an integer
* describe the return value (list of floats, and float, I believe?)
* give the full name - which I am guessing is low composition complexity (LCC) 

Would make sense to move this from Bio/lcc.py to Bio/SeqUtils/lcc.py (like
Michiel recently moved the crc.py module).  Would you have any objections to
this?

The code clearly only looks at ACTG; extending it to unambiguous nucleotides is
possible right (DNA or RNA)?  What about ambiguous nucleotides?


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