Author: bugman Date: Thu Feb 2 17:43:10 2012 New Revision: 15293 URL: http://svn.gna.org/viewcvs/relax?rev=15293&view=rev Log: The 3 rotor frame order system tests now check the chi2 when using 50 Sobol points. This is very rough, but good enough to test the code. Modified: branches/frame_order_testing/test_suite/system_tests/frame_order.py Modified: branches/frame_order_testing/test_suite/system_tests/frame_order.py URL: http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/test_suite/system_tests/frame_order.py?rev=15293&r1=15292&r2=15293&view=diff ============================================================================== --- branches/frame_order_testing/test_suite/system_tests/frame_order.py (original) +++ branches/frame_order_testing/test_suite/system_tests/frame_order.py Thu Feb 2 17:43:10 2012 @@ -90,7 +90,7 @@ self.cam_path = status.install_path + sep+'test_suite'+sep+'system_tests'+sep+'scripts'+sep+'frame_order'+sep+'cam'+sep - def check_chi2(self, chi2=None, places=1): + def check_chi2(self, chi2=None, places=8): """Check the function evaluation.""" # Switch back to the original pipe. @@ -469,7 +469,7 @@ # The flags, execute the script, and then check the chi2 value. self.flags() self.interpreter.run(script_file=self.cam_path+'rotor.py') - self.check_chi2(0.0) + self.check_chi2(0.38773723555777778+0.1460413756923267) def test_cam_rotor_no_rdc(self): @@ -478,7 +478,7 @@ # The flags, execute the script, and then check the chi2 value. self.flags(rdc=False) self.interpreter.run(script_file=self.cam_path+'rotor.py') - self.check_chi2(0.0) + self.check_chi2(0.38773723555777778) def test_cam_rotor_no_pcs(self): @@ -487,7 +487,7 @@ # The flags, execute the script, and then check the chi2 value. self.flags(pcs=False) self.interpreter.run(script_file=self.cam_path+'rotor.py') - self.check_chi2(0.0) + self.check_chi2(0.1460413756923267) def test_cam_rotor2(self):