mailr5359 - /1.3/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on April 07, 2008 - 14:38:
Author: bugman
Date: Mon Apr  7 14:38:33 2008
New Revision: 5359

URL: http://svn.gna.org/viewcvs/relax?rev=5359&view=rev
Log:
Fixed the call to the centre_of_mass() function in the N-state model code.


Modified:
    1.3/specific_fns/n_state_model.py

Modified: 1.3/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/specific_fns/n_state_model.py?rev=5359&r1=5358&r2=5359&view=diff
==============================================================================
--- 1.3/specific_fns/n_state_model.py (original)
+++ 1.3/specific_fns/n_state_model.py Mon Apr  7 14:38:33 2008
@@ -30,6 +30,7 @@
 from data import Data as relax_data_store
 from float import isNaN, isInf
 import generic_fns
+import generic_fns.structure.mass
 from maths_fns.n_state_model import N_state_opt
 from maths_fns.rotation_matrix import R_2vect, R_euler_zyz
 from minfx.generic import generic_minimise
@@ -117,7 +118,7 @@
 
         # Calculate from the structure file.
         else:
-            cdp.CoM = generic_fns.structure.centre_of_mass()
+            cdp.CoM = generic_fns.structure.mass.centre_of_mass()
 
         # Calculate the vector between the pivot and CoM points.
         cdp.pivot_CoM = array(cdp.CoM, float64) - array(cdp.pivot_point, 
float64)




Related Messages


Powered by MHonArc, Updated Mon Apr 07 15:00:20 2008