mailr16988 - /branches/interatomic/user_functions/spin.py


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

Header


Content

Posted by edward on June 20, 2012 - 00:55:
Author: bugman
Date: Wed Jun 20 00:55:52 2012
New Revision: 16988

URL: http://svn.gna.org/viewcvs/relax?rev=16988&view=rev
Log:
Rearranged the spin.element user function arguments.


Modified:
    branches/interatomic/user_functions/spin.py

Modified: branches/interatomic/user_functions/spin.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/user_functions/spin.py?rev=16988&r1=16987&r2=16988&view=diff
==============================================================================
--- branches/interatomic/user_functions/spin.py (original)
+++ branches/interatomic/user_functions/spin.py Wed Jun 20 00:55:52 2012
@@ -285,21 +285,21 @@
 uf.title = "Set the element type of the spin."
 uf.title_short = "Spin element setting."
 uf.add_keyarg(
-    name = "spin_id",
-    py_type = "str",
-    desc_short = "spin ID string",
-    desc = "The spin identification string corresponding to one or more 
spins.",
-    wiz_element_type = 'combo',
-    wiz_combo_iter = get_spin_ids,
-    can_be_none = True
-)
-uf.add_keyarg(
     name = "element",
     py_type = "str",
     desc_short = "IUPAC element name",
     desc = "The IUPAC element name.",
     wiz_element_type = "combo",
     wiz_combo_choices = ["N", "C", "H", "O", "P"]
+)
+uf.add_keyarg(
+    name = "spin_id",
+    py_type = "str",
+    desc_short = "spin ID string",
+    desc = "The spin identification string corresponding to one or more 
spins.",
+    wiz_element_type = 'combo',
+    wiz_combo_iter = get_spin_ids,
+    can_be_none = True
 )
 uf.add_keyarg(
     name = "force",




Related Messages


Powered by MHonArc, Updated Wed Jun 20 01:20:03 2012