mailr11012 - /1.3/prompt/minimisation.py


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

Header


Content

Posted by edward on March 16, 2010 - 14:26:
Author: bugman
Date: Tue Mar 16 14:26:19 2010
New Revision: 11012

URL: http://svn.gna.org/viewcvs/relax?rev=11012&view=rev
Log:
Bug fix for the minimisation user functions.

This was introduced accidentally in r11007.  The reference self._exec_info 
was accidentally set to
self.__exec_info.


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=11012&r1=11011&r2=11012&view=diff
==============================================================================
--- 1.3/prompt/minimisation.py (original)
+++ 1.3/prompt/minimisation.py Tue Mar 16 14:26:19 2010
@@ -49,8 +49,8 @@
         """
 
         # Function intro text.
-        if self.__exec_info.intro:
-            text = self.__exec_info.ps3 + "calc("
+        if self._exec_info.intro:
+            text = self._exec_info.ps3 + "calc("
             text = text + "verbosity=" + repr(verbosity) + ")"
             print(text)
 
@@ -86,8 +86,8 @@
         """
 
         # Function intro text.
-        if self.__exec_info.intro:
-            text = self.__exec_info.ps3 + "grid_search("
+        if self._exec_info.intro:
+            text = self._exec_info.ps3 + "grid_search("
             text = text + "lower=" + repr(lower)
             text = text + ", upper=" + repr(upper)
             text = text + ", inc=" + repr(inc)
@@ -246,8 +246,8 @@
             verbosity = 1
 
         # Function intro text.
-        if self.__exec_info.intro:
-            text = self.__exec_info.ps3 + "minimise("
+        if self._exec_info.intro:
+            text = self._exec_info.ps3 + "minimise("
             text = text + "*args=" + repr(args)
             text = text + ", func_tol=" + repr(func_tol)
             text = text + ", max_iterations=" + repr(max_iterations)




Related Messages


Powered by MHonArc, Updated Tue Mar 16 15:20:01 2010