Author: bugman Date: Wed Nov 14 12:23:56 2012 New Revision: 17968 URL: http://svn.gna.org/viewcvs/relax?rev=17968&view=rev Log: Bug fix for the grid_search user function. The elements of the list of integers can be None to indicate that no grid search in that dimension is to be performed. Modified: trunk/user_functions/minimisation.py Modified: trunk/user_functions/minimisation.py URL: http://svn.gna.org/viewcvs/relax/trunk/user_functions/minimisation.py?rev=17968&r1=17967&r2=17968&view=diff ============================================================================== --- trunk/user_functions/minimisation.py (original) +++ trunk/user_functions/minimisation.py Wed Nov 14 12:23:56 2012 @@ -76,7 +76,8 @@ default = 21, py_type = "int_or_int_list", desc_short = "incrementation value", - desc = "The number of increments to search over. If a single integer is given then the number of increments will be equal in all dimensions. Different numbers of increments in each direction can be set if 'inc' is set to an array of integers of length equal to the number of parameters." + desc = "The number of increments to search over. If a single integer is given then the number of increments will be equal in all dimensions. Different numbers of increments in each direction can be set if 'inc' is set to an array of integers of length equal to the number of parameters.", + none_elements = True ) uf.add_keyarg(