mailr22433 - /trunk/test_suite/unit_tests/_lib/test_rotating_frame.py


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

Header


Content

Posted by tlinnet on March 07, 2014 - 11:42:
Author: tlinnet
Date: Fri Mar  7 11:42:51 2014
New Revision: 22433

URL: http://svn.gna.org/viewcvs/relax?rev=22433&view=rev
Log:
Replaced with calc_rotating_frame_params in unittest, to reflect function 
renaming.

Regarding sr #3124, (https://gna.org/support/index.php?3124) - Grace graphs 
production for R1rho analysis with R2_eff as function of Omega_eff.

Modified:
    trunk/test_suite/unit_tests/_lib/test_rotating_frame.py

Modified: trunk/test_suite/unit_tests/_lib/test_rotating_frame.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test_rotating_frame.py?rev=22433&r1=22432&r2=22433&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test_rotating_frame.py     (original)
+++ trunk/test_suite/unit_tests/_lib/test_rotating_frame.py     Fri Mar  7 
11:42:51 2014
@@ -26,7 +26,7 @@
 from os import sep
 
 # relax module imports.
-from lib.rotating_frame import calc_tilt_angle
+from lib.rotating_frame import calc_rotating_frame_params
 from lib.errors import RelaxError
 from pipe_control import state
 from pipe_control.mol_res_spin import spin_loop
@@ -37,7 +37,7 @@
 class Test_rotating_frame(UnitTestCase):
     """Unit tests for the functions of the 'lib.rotating_frame' module."""
 
-    def test_calc_tilt_angle(self):
+    def test_calc_rotating_frame_params(self):
         """Unit test of the calc_tilt_angle() function for R1rho setup.
 
         This uses the data of the saved state attached to U{bug 
#21344<https://gna.org/bugs/?21344>}.
@@ -48,7 +48,7 @@
         state.load_state(statefile, force=True)
 
         # Use calc_tilt_angle function
-        calc_tilt_angle()
+        calc_rotating_frame_params()
 
         # Test the existence of 
         for curspin, mol_name, res_num, res_name, spin_id in 
spin_loop(full_info=True, return_id=True, skip_desel=False):




Related Messages


Powered by MHonArc, Updated Fri Mar 07 12:00:02 2014