Author: bugman Date: Fri May 9 20:25:13 2014 New Revision: 23142 URL: http://svn.gna.org/viewcvs/relax?rev=23142&view=rev Log: Increased the precision of many of the Frame_order.test_rigid_data_to_*_model system tests. This is to fix a test which was failing due to the recent re-parameterisation of the rotor frame order model to eliminate one parameter. The precision of the numeric Sobol' sequence integration has been increased by shifting the fixed parameter values even closer to zero. As a consequence, the chi-squared value of five of these tests is now lower. Modified: trunk/test_suite/system_tests/frame_order.py trunk/test_suite/system_tests/scripts/frame_order/rigid_test.py Modified: trunk/test_suite/system_tests/frame_order.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/frame_order.py?rev=23142&r1=23141&r2=23142&view=diff ============================================================================== --- trunk/test_suite/system_tests/frame_order.py (original) +++ trunk/test_suite/system_tests/frame_order.py Fri May 9 20:25:13 2014 @@ -1220,7 +1220,7 @@ self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'frame_order'+sep+'rigid_test.py') # Check the chi2 value. - self.assertAlmostEqual(cdp.chi2, 177.13243371265614) + self.assertAlmostEqual(cdp.chi2, 176.21076150431688, 5) def test_rigid_data_to_iso_cone_free_rotor_model(self): @@ -1246,7 +1246,7 @@ self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'frame_order'+sep+'rigid_test.py') # Check the chi2 value. - self.assertAlmostEqual(cdp.chi2, 2.7993179077540402) + self.assertAlmostEqual(cdp.chi2, 0.60329473329566086, 5) def test_rigid_data_to_rigid_model(self): @@ -1272,7 +1272,7 @@ self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'frame_order'+sep+'rigid_test.py') # Check the chi2 value. - self.assertAlmostEqual(cdp.chi2, 0.97003711776989854) + self.assertAlmostEqual(cdp.chi2, 0.125368731409432, 5) def test_rigid_data_to_pseudo_ellipse_model(self): @@ -1285,7 +1285,7 @@ self.script_exec(status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'frame_order'+sep+'rigid_test.py') # Check the chi2 value. - self.assertAlmostEqual(cdp.chi2, 177.13243371265639) + self.assertAlmostEqual(cdp.chi2, 176.7605562647316, 5) def test_rigid_data_to_pseudo_ellipse_torsionless_model(self): Modified: trunk/test_suite/system_tests/scripts/frame_order/rigid_test.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/scripts/frame_order/rigid_test.py?rev=23142&r1=23141&r2=23142&view=diff ============================================================================== --- trunk/test_suite/system_tests/scripts/frame_order/rigid_test.py (original) +++ trunk/test_suite/system_tests/scripts/frame_order/rigid_test.py Fri May 9 20:25:13 2014 @@ -144,10 +144,10 @@ # Set some parameters close to zero, but far enough away from zero to allow for the numerical integration. cdp.cone_s1 = 0.99 -cdp.cone_theta = 0.1 +cdp.cone_theta = 0.05 cdp.cone_theta_x = 0.1 cdp.cone_theta_y = 0.1 -cdp.cone_sigma_max = 0.1 +cdp.cone_sigma_max = 0.05 # Allow for stand-alone operation. if not hasattr(ds, 'model'):