mailr26106 - /trunk/prompt/uf_objects.py


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

Header


Content

Posted by edward on October 01, 2014 - 19:44:
Author: bugman
Date: Wed Oct  1 19:44:12 2014
New Revision: 26106

URL: http://svn.gna.org/viewcvs/relax?rev=26106&view=rev
Log:
Registered the new user function argument type 'int_list_of_lists' in the 
prompt UI.

This is to allow for lists of lists of integers, as used for the model 
argument in the new
structure.align user function.

Modified:
    trunk/prompt/uf_objects.py

Modified: trunk/prompt/uf_objects.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/prompt/uf_objects.py?rev=26106&r1=26105&r2=26106&view=diff
==============================================================================
--- trunk/prompt/uf_objects.py  (original)
+++ trunk/prompt/uf_objects.py  Wed Oct  1 19:44:12 2014
@@ -185,6 +185,8 @@
                 lib.arg_check.is_int_list(value, desc_short, size=dim, 
can_be_none=can_be_none)
             elif py_type == 'int_or_int_list':
                 lib.arg_check.is_int_or_int_list(value, desc_short, 
size=dim, can_be_none=can_be_none, can_be_empty=can_be_empty, 
none_elements=none_elements)
+            elif py_type == 'int_list_of_lists':
+                lib.arg_check.is_int_list(value, desc_short, size=dim, 
can_be_none=can_be_none, can_be_empty=can_be_empty, 
none_elements=none_elements, list_of_lists=True)
             elif py_type == 'list':
                 lib.arg_check.is_list(value, desc_short, size=dim, 
can_be_none=can_be_none, can_be_empty=can_be_empty)
             elif py_type == 'list_val_or_list_of_list_val':




Related Messages


Powered by MHonArc, Updated Wed Oct 01 20:00:03 2014