mailr16481 - /branches/uf_redesign/user_functions/minimisation.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on May 28, 2012 - 16:16:
Author: bugman
Date: Mon May 28 16:16:06 2012
New Revision: 16481

URL: http://svn.gna.org/viewcvs/relax?rev=16481&view=rev
Log:
Changed the minimise max_iter arg so that it has a min of 1 and max of 1e9 
and is a GUI SpinCtrl.

This is a replacement for r16479, in that the arg element is reverted to a 
SpinCtrl but with a very
large upper limit.


Modified:
    branches/uf_redesign/user_functions/minimisation.py

Modified: branches/uf_redesign/user_functions/minimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/uf_redesign/user_functions/minimisation.py?rev=16481&r1=16480&r2=16481&view=diff
==============================================================================
--- branches/uf_redesign/user_functions/minimisation.py (original)
+++ branches/uf_redesign/user_functions/minimisation.py Mon May 28 16:16:06 
2012
@@ -237,9 +237,10 @@
     name = "max_iter",
     default = 10000000,
     py_type = "int",
+    min = 1,
+    max = 1000000000,
     desc_short = "maximum number of iterations",
-    desc = "The maximum number of iterations.  The default value is 1e7.",
-    can_be_none = True
+    desc = "The maximum number of iterations.  The default value is 1e7."
 )
 uf.add_keyarg(
     name = "constraints",




Related Messages


Powered by MHonArc, Updated Mon May 28 17:00:02 2012