Author: semor Date: Mon Oct 13 17:37:17 2008 New Revision: 7687 URL: http://svn.gna.org/viewcvs/relax?rev=7687&view=rev Log: Fixed a problem raised when the number 0 would be given as relaxation delay. A delay of 0.0 is now given for the intensities associated with the Sparky peak list. Modified: 1.3/test_suite/system_tests/sparky.py Modified: 1.3/test_suite/system_tests/sparky.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/sparky.py?rev=7687&r1=7686&r2=7687&view=diff ============================================================================== --- 1.3/test_suite/system_tests/sparky.py (original) +++ 1.3/test_suite/system_tests/sparky.py Mon Oct 13 17:37:17 2008 @@ -59,7 +59,7 @@ self.relax.interpreter._Spin.name(name='N') # Read the peak list. - self.relax.interpreter._Relax_fit.read(file="ref_ave.list", dir=sys.path[-1] + "/test_suite/shared_data/peak_lists", relax_time=0, format='sparky') + self.relax.interpreter._Relax_fit.read(file="ref_ave.list", dir=sys.path[-1] + "/test_suite/shared_data/peak_lists", relax_time=0.0, format='sparky') # Test the data. self.assertEqual(cdp.mol[0].res[0].spin[0].intensities[0], 6262)