Author: tlinnet Date: Thu May 8 14:40:20 2014 New Revision: 23081 URL: http://svn.gna.org/viewcvs/relax?rev=23081&view=rev Log: Added list_of_lists to uf_objects. task #7791: (https://gna.org/task/index.php?7791 ) the dx.map should accept a list of list with values for points. 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=23081&r1=23080&r2=23081&view=diff ============================================================================== --- trunk/prompt/uf_objects.py (original) +++ trunk/prompt/uf_objects.py Thu May 8 14:40:20 2014 @@ -164,6 +164,7 @@ can_be_none = arg['can_be_none'] can_be_empty = arg['can_be_empty'] none_elements = arg['none_elements'] + list_of_lists = arg['list_of_lists'] # Check if the correct Python object type has been supplied. if py_type == 'bool': @@ -186,6 +187,8 @@ 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 == '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': + lib.arg_check.is_list_val_or_list_of_list_val(value, desc_short, size=dim, can_be_none=can_be_none, can_be_empty=can_be_empty, list_of_lists=list_of_lists) elif py_type == 'none': lib.arg_check.is_none(value, desc_short) elif py_type == 'num':