Hi, Do you think it would be worth changing the checking of the relax_time arg to allow integers? It might be easier and less confusing for the user that way.
Regards, Edward On Mon, Oct 13, 2008 at 5:37 PM, <[EMAIL PROTECTED]> wrote: > 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) > > > _______________________________________________ > relax (http://nmr-relax.com) > > This is the relax-commits mailing list > [EMAIL PROTECTED] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-commits > _______________________________________________ relax (http://nmr-relax.com) This is the relax-devel mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-devel

