mailr17261 - /branches/frame_order_testing/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 July 17, 2012 - 09:17:
Author: bugman
Date: Tue Jul 17 09:17:21 2012
New Revision: 17261

URL: http://svn.gna.org/viewcvs/relax?rev=17261&view=rev
Log:
Reimplementation of r15044 but within the auto-generated user function design.

The merger of the redesigns from the trunk causes the user function front-end 
changes of r15044 in
prompt/align_tensor.py to be lost, as this file no longer exists.  The 
align_tensor.init user
function arguments align_id and domain have been reintroduced.

.....
  r15044 | bugman | 2011-12-07 16:32:01 +0100 (Wed, 07 Dec 2011) | 8 lines
  Changed paths:
     M /branches/frame_order_testing/generic_fns/align_tensor.py
     M /branches/frame_order_testing/prompt/align_tensor.py
  
  Converted the align_tensor.init user function to accept the align_id and 
domain arguments.
  
  The domain argument complements the align_tensor.set_domain user function 
whereas the align_id arg
  is new and is used to associate a tensor with an alignment.  This is part 
of a redesign of how
  alignment tensors are handled, as there can be multiple tensors per 
alignment if the molecule is
  multi-domain.
.....


Modified:
    branches/frame_order_testing/user_functions/align_tensor.py

Modified: branches/frame_order_testing/user_functions/align_tensor.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/user_functions/align_tensor.py?rev=17261&r1=17260&r2=17261&view=diff
==============================================================================
--- branches/frame_order_testing/user_functions/align_tensor.py (original)
+++ branches/frame_order_testing/user_functions/align_tensor.py Tue Jul 17 
09:17:21 2012
@@ -240,6 +240,20 @@
         7
     ],
     wiz_read_only = True
+)
+uf.add_keyarg(
+    name = "align_id",
+    py_type = "str",
+    desc_short = "alignment ID string",
+    desc = "The optional alignment ID string that the tensor corresponds 
to.",
+    can_be_none = True
+)
+uf.add_keyarg(
+    name = "domain",
+    py_type = "str",
+    desc_short = "domain ID string",
+    desc = "The optional domain ID string that the tensor corresponds to.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "errors",




Related Messages


Powered by MHonArc, Updated Tue Jul 17 09:40:01 2012