Author: bugman Date: Tue Oct 2 16:59:22 2012 New Revision: 17680 URL: http://svn.gna.org/viewcvs/relax?rev=17680&view=rev Log: Python 3 fix - removed the use of the string.lower() function in the OpenDX mapping code. Modified: trunk/opendx/main.py Modified: trunk/opendx/main.py URL: http://svn.gna.org/viewcvs/relax/trunk/opendx/main.py?rev=17680&r1=17679&r2=17680&view=diff ============================================================================== --- trunk/opendx/main.py (original) +++ trunk/opendx/main.py Tue Oct 2 16:59:22 2012 @@ -25,7 +25,6 @@ # Python module imports. from os import system -import string # relax module imports. from opendx import isosurface_3D @@ -78,7 +77,7 @@ raise RelaxError("The axis increment value needs to be greater than 1.") # Space type. - if string.lower(map_type) == "iso3d": + if map_type.lower() == "iso3d": if len(params) != 3: raise RelaxError("The 3D isosurface map requires a 3 parameter model.")