Author: bugman
Date: Sun Nov 30 11:11:45 2014
New Revision: 26875

URL: http://svn.gna.org/viewcvs/relax?rev=26875&view=rev
Log:
Python 3 fix for the relax_fit_exp_3param_inv_neg.py system test script.

The xrange() function does not exist in Python 3, so was replaced by range().


Modified:
    trunk/test_suite/system_tests/scripts/relax_fit_exp_3param_inv_neg.py

Modified: trunk/test_suite/system_tests/scripts/relax_fit_exp_3param_inv_neg.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/scripts/relax_fit_exp_3param_inv_neg.py?rev=26875&r1=26874&r2=26875&view=diff
==============================================================================
--- trunk/test_suite/system_tests/scripts/relax_fit_exp_3param_inv_neg.py       
(original)
+++ trunk/test_suite/system_tests/scripts/relax_fit_exp_3param_inv_neg.py       
Sun Nov 30 11:11:45 2014
@@ -55,7 +55,7 @@
 # Load the data twice to test data deletion.
 for iter in range(2):
     # Loop over the spectra.
-    for i in xrange(len(names)):
+    for i in range(len(names)):
         # Load the peak intensities.
         spectrum.read_intensities(file=names[i]+'.list', dir=data_path, 
spectrum_id=names[i], int_method=ds.int_type)
 


_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to