Author: bugman Date: Tue Dec 11 16:22:46 2012 New Revision: 18115 URL: http://svn.gna.org/viewcvs/relax?rev=18115&view=rev Log: Bug fix for the align_tensor.copy user function for a recently introduced bug. The alignment tensor is now correctly initialised if the target data pipe is not the current data pipe. Modified: trunk/generic_fns/align_tensor.py Modified: trunk/generic_fns/align_tensor.py URL: http://svn.gna.org/viewcvs/relax/trunk/generic_fns/align_tensor.py?rev=18115&r1=18114&r2=18115&view=diff ============================================================================== --- trunk/generic_fns/align_tensor.py (original) +++ trunk/generic_fns/align_tensor.py Tue Dec 11 16:22:46 2012 @@ -155,7 +155,7 @@ # Add the tensor if it doesn't already exist. if tensor_to not in dp_to.align_tensors.names(): - tensor_obj = cdp.align_tensors.add_item(tensor_to) + dp_to.align_tensors.add_item(tensor_to) # Find the tensor index. index_from = get_tensor_index(tensor_from, pipe_from)