Author: bugman Date: Thu Jun 25 14:03:36 2009 New Revision: 9148 URL: http://svn.gna.org/viewcvs/relax?rev=9148&view=rev Log: Another bug fix for the generate_vector_residues() function for MC simulations. Modified: branches/frame_order/generic_fns/structure/geometric.py Modified: branches/frame_order/generic_fns/structure/geometric.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order/generic_fns/structure/geometric.py?rev=9148&r1=9147&r2=9148&view=diff ============================================================================== --- branches/frame_order/generic_fns/structure/geometric.py (original) +++ branches/frame_order/generic_fns/structure/geometric.py Thu Jun 25 14:03:36 2009 @@ -611,7 +611,7 @@ # Monte Carlo simulations. if sim_vectors != None: - for i in xrange(sim_vectors): + for i in range(len(sim_vectors)): # Increment the residue number, so each simulation is a new residue. res_num = res_num + 1