Author: bugman Date: Sat Jan 5 23:33:38 2008 New Revision: 4374 URL: http://svn.gna.org/viewcvs/relax?rev=4374&view=rev Log: Bug fix for the system tests calling the state.load() user function.
The 'file' argument is now called 'state'. Modified: 1.3/test_suite/system_tests/model_free.py 1.3/test_suite/system_tests/relax_fit.py Modified: 1.3/test_suite/system_tests/model_free.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/model_free.py?rev=4374&r1=4373&r2=4374&view=diff ============================================================================== --- 1.3/test_suite/system_tests/model_free.py (original) +++ 1.3/test_suite/system_tests/model_free.py Sat Jan 5 23:33:38 2008 @@ -561,7 +561,7 @@ """The reading of model-free results using the user function results.read().""" # Load the original state. - self.relax.interpreter._State.load(file='orig_state', dir=sys.path[-1] + '/test_suite/system_tests/data/model_free') + self.relax.interpreter._State.load(state='orig_state', dir=sys.path[-1] + '/test_suite/system_tests/data/model_free') # Read the results. self.relax.interpreter._Results.read(dir=sys.path[-1] + '/test_suite/system_tests/data/model_free') Modified: 1.3/test_suite/system_tests/relax_fit.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/relax_fit.py?rev=4374&r1=4373&r2=4374&view=diff ============================================================================== --- 1.3/test_suite/system_tests/relax_fit.py (original) +++ 1.3/test_suite/system_tests/relax_fit.py Sat Jan 5 23:33:38 2008 @@ -48,7 +48,7 @@ """The Sparky peak height loading test.""" # Load the original state. - self.relax.interpreter._State.load(file='rx.save', dir=sys.path[-1] + '/test_suite/system_tests/data/curve_fitting') + self.relax.interpreter._State.load(state='rx.save', dir=sys.path[-1] + '/test_suite/system_tests/data/curve_fitting') # Load the Lupin Ap4Aase sequence. self.relax.interpreter._Sequence.read(file="Ap4Aase.seq", dir=sys.path[-1] + "/test_suite/system_tests/data") _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org 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