[Biopython-dev] [Bug 2697] MaxEntropy calculate function assumes integer values for class and convergence criteria is hard coded

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Jan 30 14:16:32 UTC 2009


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


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

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




------- Comment #6 from biopython-bugzilla at maubp.freeserve.co.uk  2009-01-30 09:16 EST -------
Created an attachment (id=1211)
 --> (http://bugzilla.open-bio.org/attachment.cgi?id=1211&action=view)
Patch to Bio/MaxEntropy.py to make the convergence parameters optional
arguments

This should retain API backwards compatibility by using the current module
level values as the function's default arguments (see earlier comments).  I've
checked that changing these and then re-calling the train function does work as
expected.

How does this look?


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