Author: bugman Date: Fri Jun 7 18:05:54 2013 New Revision: 19957 URL: http://svn.gna.org/viewcvs/relax?rev=19957&view=rev Log: Improvements for the parameter checks in the system tests for the r1rho_on_res synthetic data. This includes both the Relax_disp.test_r1rho_on_res_fixed_time_m61 and Relax_disp.test_r1rho_on_res_exponential_m61 tests. Modified: branches/relax_disp/test_suite/system_tests/relax_disp.py Modified: branches/relax_disp/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/system_tests/relax_disp.py?rev=19957&r1=19956&r2=19957&view=diff ============================================================================== --- branches/relax_disp/test_suite/system_tests/relax_disp.py (original) +++ branches/relax_disp/test_suite/system_tests/relax_disp.py Fri Jun 7 18:05:54 2013 @@ -505,9 +505,9 @@ print("\nSpin %s." % spin_id) # Check the fitted parameters. - self.assertAlmostEqual(spin.r2[0], r1rho_prime[spin_index], 2) - self.assertAlmostEqual(spin.phi_ex, phi_ex[spin_index]) - self.assertAlmostEqual(spin.kex, kex) + self.assertAlmostEqual(spin.r2[0]/10, r1rho_prime[spin_index]/10, 2) + self.assertAlmostEqual(spin.phi_ex, phi_ex[spin_index], 2) + self.assertAlmostEqual(spin.kex/1000.0, kex/1000.0, 2) # Increment the spin index. spin_index += 1 @@ -556,9 +556,9 @@ print("\nSpin %s." % spin_id) # Check the fitted parameters. - self.assertAlmostEqual(spin.r2[0], r1rho_prime[spin_index], 2) - self.assertAlmostEqual(spin.phi_ex, phi_ex[spin_index]) - self.assertAlmostEqual(spin.kex, kex) + self.assertAlmostEqual(spin.r2[0]/10, r1rho_prime[spin_index]/10, 2) + self.assertAlmostEqual(spin.phi_ex, phi_ex[spin_index], 2) + self.assertAlmostEqual(spin.kex/1000.0, kex/1000.0, 2) # Increment the spin index. spin_index += 1