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':
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits