Author: bugman Date: Tue Jun 29 11:12:37 2010 New Revision: 11256 URL: http://svn.gna.org/viewcvs/relax?rev=11256&view=rev Log: The align_tensor.copy() tensor_to arg can now be None. This is useful for copying between data pipes. Modified: 1.3/prompt/align_tensor.py Modified: 1.3/prompt/align_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/align_tensor.py?rev=11256&r1=11255&r2=11256&view=diff ============================================================================== --- 1.3/prompt/align_tensor.py (original) +++ 1.3/prompt/align_tensor.py Tue Jun 29 11:12:37 2010 @@ -95,7 +95,7 @@ # The argument checks. arg_check.is_str(tensor_from, 'tensor from') arg_check.is_str(pipe_from, 'pipe from', can_be_none=True) - arg_check.is_str(tensor_to, 'tensor to') + arg_check.is_str(tensor_to, 'tensor to', can_be_none=True) arg_check.is_str(pipe_to, 'pipe to', can_be_none=True) # Execute the functional code.