Author: bugman Date: Tue Apr 15 23:21:04 2008 New Revision: 5746 URL: http://svn.gna.org/viewcvs/relax?rev=5746&view=rev Log: The spectral density calculation system test now passes. The index for the internal test values now exists. Modified: 1.3/test_suite/system_tests/jw_mapping.py Modified: 1.3/test_suite/system_tests/jw_mapping.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/jw_mapping.py?rev=5746&r1=5745&r2=5746&view=diff ============================================================================== --- 1.3/test_suite/system_tests/jw_mapping.py (original) +++ 1.3/test_suite/system_tests/jw_mapping.py Tue Apr 15 23:21:04 2008 @@ -88,6 +88,7 @@ self.relax.interpreter._Minimisation.calc() # Loop over residues. + index = 0 for res in residue_loop(): # Residues -2 and -1 have data. if res.num == -2 or res.num == -1: @@ -95,6 +96,7 @@ self.assertAlmostEqual(res.spin[0].j0, j0[index]) self.assertAlmostEqual(res.spin[0].jwh, jwh[index]) self.assertAlmostEqual(res.spin[0].jwx, jwx[index]) + index = index + 1 # Other residues have insufficient data. else: