mailr11256 - /1.3/prompt/align_tensor.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 29, 2010 - 11:12:
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.




Related Messages


Powered by MHonArc, Updated Tue Jun 29 11:40:02 2010