mailr9908 - /1.3/test_suite/unit_tests/_specific_fns/test_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 November 24, 2009 - 12:39:
Author: bugman
Date: Tue Nov 24 12:39:49 2009
New Revision: 9908

URL: http://svn.gna.org/viewcvs/relax?rev=9908&view=rev
Log:
Fix for the unit test for the N-state model _assemble_param_vector() method.


Modified:
    1.3/test_suite/unit_tests/_specific_fns/test_n_state_model.py

Modified: 1.3/test_suite/unit_tests/_specific_fns/test_n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_specific_fns/test_n_state_model.py?rev=9908&r1=9907&r2=9908&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_specific_fns/test_n_state_model.py (original)
+++ 1.3/test_suite/unit_tests/_specific_fns/test_n_state_model.py Tue Nov 24 
12:39:49 2009
@@ -36,8 +36,8 @@
     n_state_model_fns = n_state_model.N_state_model()
 
 
-    def test___assemble_param_vector(self):
-        """Test the operation of the 
specific_fns.n_state_model.__assemble_param_vector() method."""
+    def test__assemble_param_vector(self):
+        """Test the operation of the 
specific_fns.n_state_model._assemble_param_vector() method."""
 
         # Set up the N, probabilities and Euler angles.
         cdp.N = 3
@@ -51,7 +51,7 @@
         cdp.align_tensors = None
 
         # Get the parameter vector.
-        param_vector = 
self.n_state_model_fns._N_state_model__assemble_param_vector()
+        param_vector = self.n_state_model_fns._assemble_param_vector()
 
         # The correct result.
         vector_true = [0.1, 0.3, 0.0, pi/2, 1.0, pi/2, pi, 3*pi/2, pi, 
3*pi/2, 2*pi]




Related Messages


Powered by MHonArc, Updated Tue Nov 24 13:00:02 2009