Author: bugman Date: Thu Aug 12 16:38:24 2010 New Revision: 11498 URL: http://svn.gna.org/viewcvs/relax?rev=11498&view=rev Log: The grid_search() user function argument incs can now be a list with None elements to fix parameters. This will only be used in the frame order optimisation for now. Modified: 1.3/prompt/minimisation.py Modified: 1.3/prompt/minimisation.py URL: http://svn.gna.org/viewcvs/relax/1.3/prompt/minimisation.py?rev=11498&r1=11497&r2=11498&view=diff ============================================================================== --- 1.3/prompt/minimisation.py (original) +++ 1.3/prompt/minimisation.py Thu Aug 12 16:38:24 2010 @@ -98,7 +98,7 @@ # The argument checks. arg_check.is_num_list(lower, 'lower bounds', can_be_none=True) arg_check.is_num_list(upper, 'upper bounds', can_be_none=True) - arg_check.is_int_or_int_list(inc, 'incrementation value') + arg_check.is_int_or_int_list(inc, 'incrementation value', none_elements=True) arg_check.is_bool(constraints, 'constraints flag') arg_check.is_int(verbosity, 'verbosity level')