Author: bugman Date: Mon Oct 5 21:20:05 2015 New Revision: 28008 URL: http://svn.gna.org/viewcvs/relax?rev=28008&view=rev Log: Fix for the alignment tensor MC simulation objects in the data store for Python 3.1. The sim_indices object was sometimes created with the range() method, however the returned iterator does not possess an index() function in Python 3.1. Therefore it was converted to a standard list. Modified: trunk/data_store/align_tensor.py Modified: trunk/data_store/align_tensor.py URL: http://svn.gna.org/viewcvs/relax/trunk/data_store/align_tensor.py?rev=28008&r1=28007&r2=28008&view=diff ============================================================================== --- trunk/data_store/align_tensor.py (original) +++ trunk/data_store/align_tensor.py Mon Oct 5 21:20:05 2015 @@ -1330,7 +1330,7 @@ if sim_index != None: sim_indices = [sim_index] else: - sim_indices = range(self._sim_num) + sim_indices = list(range(self._sim_num)) # Get all the dependencies if possible. missing_dep = 0