mailr23948 - /branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 13, 2014 - 19:54:
Author: bugman
Date: Fri Jun 13 19:54:40 2014
New Revision: 23948

URL: http://svn.gna.org/viewcvs/relax?rev=23948&view=rev
Log:
Python 3 fix for the CaM frame order system test base script.


Modified:
    
branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py

Modified: 
branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py?rev=23948&r1=23947&r2=23948&view=diff
==============================================================================
--- 
branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py
 (original)
+++ 
branches/frame_order_cleanup/test_suite/system_tests/scripts/frame_order/cam/base_script.py
 Fri Jun 13 19:54:40 2014
@@ -26,7 +26,6 @@
 from numpy import array, cross, float32, float64, transpose, zeros
 from numpy.linalg import norm
 from os import F_OK, access, sep
-from string import upper
 
 # relax module imports.
 from data_store import Relax_data_store; ds = Relax_data_store()
@@ -179,7 +178,7 @@
         ]
         for param in params:
             # Variable name.
-            var_name = upper(param)
+            var_name = param.upper()
 
             # Not set.
             val = getattr(self, var_name)




Related Messages


Powered by MHonArc, Updated Sun Jun 15 09:00:03 2014