mailr16652 - /branches/uf_redesign/user_functions/model_selection.py


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

Header


Content

Posted by edward on June 05, 2012 - 09:17:
Author: bugman
Date: Tue Jun  5 09:17:23 2012
New Revision: 16652

URL: http://svn.gna.org/viewcvs/relax?rev=16652&view=rev
Log:
Added the 'bundle' arg to the model_selection user function specification.


Modified:
    branches/uf_redesign/user_functions/model_selection.py

Modified: branches/uf_redesign/user_functions/model_selection.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/model_selection.py?rev=16652&r1=16651&r2=16652&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/model_selection.py (original)
+++ branches/uf_redesign/user_functions/model_selection.py Tue Jun  5 
09:17:23 2012
@@ -73,6 +73,16 @@
     desc = "The name of the new data pipe which will be created by this user 
function by the copying of the selected data pipe."
 )
 uf.add_keyarg(
+    name = "bundle",
+    py_type = "str",
+    desc_short = "pipe bundle",
+    desc = "The optional pipe bundle is a special grouping or clustering of 
data pipes.  If this is specified, the newly created data pipe will be added 
to this bundle.",
+    wiz_element_type = 'combo',
+    wiz_combo_iter = pipes.bundle_names,
+    wiz_read_only = False,
+    can_be_none = True
+)
+uf.add_keyarg(
     name = "pipes",
     py_type = "str_list_of_lists",
     desc_short = "data pipes",
@@ -106,5 +116,5 @@
 uf.backend = model_selection.select
 uf.menu_text = "m&odel_selection"
 uf.gui_icon = "relax.discrepancy_curve"
-uf.wizard_size = (800, 600)
+uf.wizard_size = (900, 700)
 uf.wizard_image = WIZARD_IMAGE_PATH + 'discrepancy_curve.png'




Related Messages


Powered by MHonArc, Updated Tue Jun 05 09:40:02 2012