mailr16730 - /branches/uf_redesign/user_functions/bmrb.py


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

Header


Content

Posted by edward on June 07, 2012 - 16:09:
Author: bugman
Date: Thu Jun  7 16:09:38 2012
New Revision: 16730

URL: http://svn.gna.org/viewcvs/relax?rev=16730&view=rev
Log:
The bmrb.display and bmrb.write user functions now have the version 
defaulting to 3.1.

The choices are now also restricted to 2.1, 3.0, and 3.1.


Modified:
    branches/uf_redesign/user_functions/bmrb.py

Modified: branches/uf_redesign/user_functions/bmrb.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/bmrb.py?rev=16730&r1=16729&r2=16730&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/bmrb.py (original)
+++ branches/uf_redesign/user_functions/bmrb.py Thu Jun  7 16:09:38 2012
@@ -180,9 +180,17 @@
 uf.title_short = "Display the BMRB data."
 uf.add_keyarg(
     name = "version",
+    default = "3.1",
     py_type = "str",
     desc_short = "NMR-STAR dictionary version",
     desc = "The version of the BMRB NMR-STAR format to display.",
+    wiz_element_type = "combo",
+    wiz_combo_choices = [
+        "2.1",
+        "3.0",
+        "3.1"
+    ],
+    wiz_read_only = True,
     can_be_none = True
 )
 uf.display = True
@@ -548,9 +556,17 @@
 )
 uf.add_keyarg(
     name = "version",
+    default = "3.1",
     py_type = "str",
     desc_short = "NMR-STAR dictionary version",
     desc = "The NMR-STAR dictionary format version to create.",
+    wiz_element_type = "combo",
+    wiz_combo_choices = [
+        "2.1",
+        "3.0",
+        "3.1"
+    ],
+    wiz_read_only = True,
     can_be_none = True
 )
 uf.add_keyarg(




Related Messages


Powered by MHonArc, Updated Thu Jun 07 16:40:02 2012