mailr10622 - /branches/bieri_gui/gui_bieri/analyses/auto_model_free.py


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

Header


Content

Posted by edward on February 02, 2010 - 22:54:
Author: bugman
Date: Tue Feb  2 22:54:17 2010
New Revision: 10622

URL: http://svn.gna.org/viewcvs/relax?rev=10622&view=rev
Log:
Fix for the selection of the model-free models to be optimised.

This problem was found by Michael in the thread starting at
https://mail.gna.org/public/relax-devel/2010-02/msg00004.html (Message-id:
<4B689504.2040601@xxxxxx>).


Modified:
    branches/bieri_gui/gui_bieri/analyses/auto_model_free.py

Modified: branches/bieri_gui/gui_bieri/analyses/auto_model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/analyses/auto_model_free.py?rev=10622&r1=10621&r2=10622&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/analyses/auto_model_free.py (original)
+++ branches/bieri_gui/gui_bieri/analyses/auto_model_free.py Tue Feb  2 
22:54:17 2010
@@ -1032,7 +1032,7 @@
                 obj = getattr(self, 'm%i' % i)
 
                 # Upload to the store.
-                self.data.model_toggle[i] = str(obj.GetValue())
+                self.data.model_toggle[i] = obj.GetValue()
         else:
             # Loop over models m0 to m9.
             for i in range(10):
@@ -1040,7 +1040,7 @@
                 obj = getattr(self, 'm%i' % i)
 
                 # Download from the store.
-                obj.SetValue(eval(str(self.data.model_toggle[i])))
+                obj.SetValue(self.data.model_toggle[i])
  
         # The structure file.
         if upload:




Related Messages


Powered by MHonArc, Updated Wed Feb 03 00:00:02 2010