Author: bugman Date: Thu Jun 25 14:02:23 2009 New Revision: 9147 URL: http://svn.gna.org/viewcvs/relax?rev=9147&view=rev Log: Bug fix for the generate_vector_residues() for numpy MC sim structures. 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=9147&r1=9146&r2=9147&view=diff ============================================================================== --- branches/frame_order/generic_fns/structure/geometric.py (original) +++ branches/frame_order/generic_fns/structure/geometric.py Thu Jun 25 14:02:23 2009 @@ -610,7 +610,7 @@ print " Creating the MC simulation vectors." # Monte Carlo simulations. - if sim_vectors: + if sim_vectors != None: for i in xrange(sim_vectors): # Increment the residue number, so each simulation is a new residue. res_num = res_num + 1