mailr17074 - in /branches/interatomic/user_functions: deselect.py select.py


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

Header


Content

Posted by edward on June 27, 2012 - 17:42:
Author: bugman
Date: Wed Jun 27 17:42:21 2012
New Revision: 17074

URL: http://svn.gna.org/viewcvs/relax?rev=17074&view=rev
Log:
The select.interatom and deselect.interatom spin ID arguments can now be set 
to None.

This allows all interatomic data containers to be either selected or 
deselected.


Modified:
    branches/interatomic/user_functions/deselect.py
    branches/interatomic/user_functions/select.py

Modified: branches/interatomic/user_functions/deselect.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/user_functions/deselect.py?rev=17074&r1=17073&r2=17074&view=diff
==============================================================================
--- branches/interatomic/user_functions/deselect.py (original)
+++ branches/interatomic/user_functions/deselect.py Wed Jun 27 17:42:21 2012
@@ -69,14 +69,16 @@
     py_type = "str",
     arg_type = "spin ID",
     desc_short = "first spin ID string",
-    desc = "The spin ID string of the first spin of the interatomic data 
container."
+    desc = "The spin ID string of the first spin of the interatomic data 
container.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "spin_id2",
     py_type = "str",
     arg_type = "spin ID",
     desc_short = "second spin ID string",
-    desc = "The spin ID string of the second spin of the interatomic data 
container."
+    desc = "The spin ID string of the second spin of the interatomic data 
container.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "boolean",

Modified: branches/interatomic/user_functions/select.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/user_functions/select.py?rev=17074&r1=17073&r2=17074&view=diff
==============================================================================
--- branches/interatomic/user_functions/select.py (original)
+++ branches/interatomic/user_functions/select.py Wed Jun 27 17:42:21 2012
@@ -69,14 +69,16 @@
     py_type = "str",
     arg_type = "spin ID",
     desc_short = "first spin ID string",
-    desc = "The spin ID string of the first spin of the interatomic data 
container."
+    desc = "The spin ID string of the first spin of the interatomic data 
container.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "spin_id2",
     py_type = "str",
     arg_type = "spin ID",
     desc_short = "second spin ID string",
-    desc = "The spin ID string of the second spin of the interatomic data 
container."
+    desc = "The spin ID string of the second spin of the interatomic data 
container.",
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "boolean",




Related Messages


Powered by MHonArc, Updated Wed Jun 27 18:00:02 2012