Author: tlinnet Date: Sun Nov 22 16:02:35 2015 New Revision: 28079 URL: http://svn.gna.org/viewcvs/relax?rev=28079&view=rev Log: In the systemtest of -s Relax_disp.test_paul_schanda_nov_2015, added a test of counting the R2eff values. This shows that the replicaceted R2eff at 950 MHz/4000 Hz point is overwritten. A solution could be to change the dispersion frequency very little, to allow the addition of the datapoint. Modified: trunk/test_suite/system_tests/relax_disp.py Modified: trunk/test_suite/system_tests/relax_disp.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/relax_disp.py?rev=28079&r1=28078&r2=28079&view=diff ============================================================================== --- trunk/test_suite/system_tests/relax_disp.py (original) +++ trunk/test_suite/system_tests/relax_disp.py Sun Nov 22 16:02:35 2015 @@ -6380,15 +6380,21 @@ # Check that the number of R2eff points is correct after dropping 1 datapoint for spin 51. + r2eff_points = [] for cur_spin, mol_name, resi, resn, spin_id in spin_loop(full_info=True, return_id=True, skip_desel=True): # Loop over the R2eff points for key in cur_spin.r2eff: value = cur_spin.r2eff[key] err = cur_spin.r2eff_err[key] + r2eff_points.append(value) # Test that values and errors are not nan. self.assert_(not isnan(value)) self.assert_(not isnan(err)) + + + # Test the number of r2eff points + self.assertEqual(len(r2eff_points), 2*(10+19)-1) def test_repeat_cpmg(self):