mailr4999 - /branches/N_state_model/generic_fns/structure.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 15, 2008 - 09:56:
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




Related Messages


Powered by MHonArc, Updated Fri Feb 15 10:20:54 2008