mailr16545 - /branches/uf_redesign/user_functions/structure.py


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

Header


Content

Posted by edward on May 30, 2012 - 20:50:
Author: bugman
Date: Wed May 30 20:50:15 2012
New Revision: 16545

URL: http://svn.gna.org/viewcvs/relax?rev=16545&view=rev
Log:
Improvements to the structure.load_spins user function definition.

The spin_id arg now uses the special 'spin ID' arg type for the spin ID GUI 
input element.


Modified:
    branches/uf_redesign/user_functions/structure.py

Modified: branches/uf_redesign/user_functions/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/structure.py?rev=16545&r1=16544&r2=16545&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/structure.py (original)
+++ branches/uf_redesign/user_functions/structure.py Wed May 30 20:50:15 2012
@@ -451,9 +451,11 @@
 uf.title_short = "Loading spins from structure."
 uf.add_keyarg(
     name = "spin_id",
-    py_type = "str",
+    default = "@N",
+    py_type = "str",
+    arg_type = "spin ID",
     desc_short = "spin ID string",
-    desc = "The spin identification string.",
+    desc = "The spin identification string for the selective loading of 
certain spins into the relax data store.",
     can_be_none = True
 )
 uf.add_keyarg(
@@ -498,6 +500,7 @@
 uf.backend = generic_fns.structure.main.load_spins
 uf.menu_text = "&load_spins"
 uf.gui_icon = "relax.spin"
+uf.wizard_height_desc = 300
 uf.wizard_size = (800, 600)
 uf.wizard_image = WIZARD_IMAGE_PATH + 'structure' + sep + 'load_spins.png'
 




Related Messages


Powered by MHonArc, Updated Wed May 30 21:20:02 2012