Author: tlinnet
Date: Thu May 8 14:40:19 2014
New Revision: 23080
URL: http://svn.gna.org/viewcvs/relax?rev=23080&view=rev
Log:
Added list_of_lists to user_functions/objects.py.
task #7791: (https://gna.org/task/index.php?7791 ) the dx.map should accept
a list of list with values for points.
Modified:
trunk/user_functions/objects.py
Modified: trunk/user_functions/objects.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/user_functions/objects.py?rev=23080&r1=23079&r2=23080&view=diff
==============================================================================
--- trunk/user_functions/objects.py (original)
+++ trunk/user_functions/objects.py Thu May 8 14:40:19 2014
@@ -391,7 +391,7 @@
self.__dict__[name] = value
- def add_keyarg(self, name=None, default=None, py_type=None,
arg_type=None, dim=None, min=0, max=1000, desc_short=None, desc=None,
list_titles=None, wiz_element_type='default', wiz_combo_choices=None,
wiz_combo_data=None, wiz_combo_iter=None, wiz_combo_list_min=None,
wiz_filesel_wildcard=FileSelectorDefaultWildcardStr,
wiz_filesel_style=None, wiz_dirsel_style=DD_DEFAULT_STYLE,
wiz_read_only=None, wiz_filesel_preview=True, can_be_none=False,
can_be_empty=False, none_elements=False):
+ def add_keyarg(self, name=None, default=None, py_type=None,
arg_type=None, dim=None, min=0, max=1000, desc_short=None, desc=None,
list_titles=None, wiz_element_type='default', wiz_combo_choices=None,
wiz_combo_data=None, wiz_combo_iter=None, wiz_combo_list_min=None,
wiz_filesel_wildcard=FileSelectorDefaultWildcardStr,
wiz_filesel_style=None, wiz_dirsel_style=DD_DEFAULT_STYLE,
wiz_read_only=None, wiz_filesel_preview=True, can_be_none=False,
can_be_empty=False, none_elements=False, list_of_lists=False):
"""Wrapper method for adding keyword argument information to the
container.
@keyword name: The name of the argument.
@@ -443,6 +443,8 @@
@type can_be_empty: bool
@keyword none_elements: A flag which if True allows the
sequence type object to contain None elements.
@type none_elements: bool
+ @keyword list_of_lists: A flag which if True allows the
sequence type object to contain list of lists.
+ @type list_of_lists: bool
"""
# Check that the args have been properly supplied.
@@ -490,3 +492,4 @@
arg['can_be_none'] = can_be_none
arg['can_be_empty'] = can_be_empty
arg['none_elements'] = none_elements
+ arg['list_of_lists'] = list_of_lists
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
relax-commits@xxxxxxx
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