Author: bugman Date: Fri Feb 15 09:56:43 2008 New Revision: 4999 URL: http://svn.gna.org/viewcvs/relax?rev=4999&view=rev Log: Bug fix in the generic_fns.structure.centre_of_mass() function. The variable 'cdp' did not exist. Modified: branches/N_state_model/generic_fns/structure.py Modified: branches/N_state_model/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/branches/N_state_model/generic_fns/structure.py?rev=4999&r1=4998&r2=4999&view=diff ============================================================================== --- branches/N_state_model/generic_fns/structure.py (original) +++ branches/N_state_model/generic_fns/structure.py Fri Feb 15 09:56:43 2008 @@ -198,7 +198,7 @@ M = 0.0 # Loop over the structures. - for struct in cdp.structure.structures: + for struct in relax_data_store[relax_data_store.current_pipe].structure.structures: # Protein. if struct.peptide_chains: chains = struct.peptide_chains