[Biopython-dev] [Bug 2873] New: import warnings.warn instead of warnings causes code to fail
bugzilla-daemon at portal.open-bio.org
bugzilla-daemon at portal.open-bio.org
Tue Jul 7 10:16:55 UTC 2009
http://bugzilla.open-bio.org/show_bug.cgi?id=2873
Summary: import warnings.warn instead of warnings causes code to
fail
Product: Biopython
Version: 1.51b
Platform: PC
OS/Version: Linux
Status: NEW
Severity: trivial
Priority: P2
Component: Main Distribution
AssignedTo: biopython-dev at biopython.org
ReportedBy: mlrodrigues at igc.gulbenkian.pt
As of commit:
http://github.com/biopython/biopython/commit/f2b2125dbbf57b1b1ac5a0259918acfc4e63abbe#diff-3
On github, the line 39 (from warnings import warn) was inserted but during the
function, the module is always refered to as warnings.warn() and not warn()
Changing line 39 to 'import warnings' solves the problem
--
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