Author: bugman Date: Sat Oct 11 22:03:02 2008 New Revision: 7605 URL: http://svn.gna.org/viewcvs/relax?rev=7605&view=rev Log: Fixes for the copy() and read() functions. The specific set() function was destroyed at r4822, well at least shifted to generic_fns.value.set_spin_params(). Modified: 1.3/generic_fns/value.py Modified: 1.3/generic_fns/value.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/value.py?rev=7605&r1=7604&r2=7605&view=diff ============================================================================== --- 1.3/generic_fns/value.py (original) +++ 1.3/generic_fns/value.py Sat Oct 11 22:03:02 2008 @@ -69,9 +69,6 @@ # Specific value and error returning function. return_value = get_specific_fn('return_value', pipes.get_type(pipe_from)) - # Specific set function. - set = get_specific_fn('set', pipes.get_type(pipe_from)) - # Test if the data exists for pipe_to. for spin in spin_loop(pipe_to): # Get the value and error for pipe_to. @@ -90,7 +87,7 @@ spin_to = return_spin(spin_id, pipe_to) # Set the values of pipe_to. - set(spin_to, value=value, error=error, param=param) + set_spin_params(spin_to, value=value, error=error, param=param) # Reset all minimisation statistics. minimise.reset_min_stats(pipe_to) @@ -252,7 +249,7 @@ return_value = get_specific_fn('return_value', pipes.get_type()) # Specific set function. - set = get_specific_fn('set', pipes.get_type()) + set = set_spin_params # Test data corresponding to param already exists. for spin in spin_loop():