[Biopython-dev] [Bug 2685] New: HotRand provides an unnecessary function to convert hex to integer

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Tue Nov 25 16:30:01 UTC 2008


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

           Summary: HotRand provides an unnecessary function to convert hex
                    to integer
           Product: Biopython
           Version: Not Applicable
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: bsouthey at gmail.com


The file Bio/HotRand.py defines the function hex_convert that converts a hex
number to an integer number. This functionality is provided by the builtin
int() with appropriate radix, i.e. 
int(hex_number, 16)

This function could be removed or replaced to avoiding using the string module.


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