mailr27772 - /trunk/user_functions/align_tensor.py


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

Header


Content

Posted by edward on March 04, 2015 - 14:30:
Author: bugman
Date: Wed Mar  4 14:30:30 2015
New Revision: 27772

URL: http://svn.gna.org/viewcvs/relax?rev=27772&view=rev
Log:
The align_tensor.copy user function 'tensor_from' argument can now be None.

This is to enable the copying of all alignment tensors from one data pipe to 
another.


Modified:
    trunk/user_functions/align_tensor.py

Modified: trunk/user_functions/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/user_functions/align_tensor.py?rev=27772&r1=27771&r2=27772&view=diff
==============================================================================
--- trunk/user_functions/align_tensor.py        (original)
+++ trunk/user_functions/align_tensor.py        Wed Mar  4 14:30:30 2015
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2007-2014 Edward d'Auvergne                                  
 #
+# Copyright (C) 2007-2015 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -45,7 +45,8 @@
     default = None,
     py_type = "str",
     desc_short = "source tensor ID",
-    desc = "The identification string of the alignment tensor to copy the 
data from."
+    desc = "The identification string of the alignment tensor to copy the 
data from.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "pipe_from",




Related Messages


Powered by MHonArc, Updated Wed Mar 04 14:40:02 2015