mailr10277 - /branches/bieri_gui/gui_bieri/relax_gui.py


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

Header


Content

Posted by edward on January 22, 2010 - 01:16:
Author: bugman
Date: Fri Jan 22 01:16:10 2010
New Revision: 10277

URL: http://svn.gna.org/viewcvs/relax?rev=10277&view=rev
Log:
Bug fix for bug #15173 (https://gna.org/bugs/?15173), the missing local_tm 
variable.

This is to fix the problem reported by Edward d'Auvergne 
(https://gna.org/users/bugman) after
clicking 'Execute Relax' in the model-free calculation.  It is the patch file 
'patch'
https://gna.org/support/download.php?file_id=7749 attached to task 
https://gna.org/task/?6847.

The problem was the local_tm variable was missing in relax_gui.py.

added:
LOCAL_TM global variable.

replaced:
whichmodel() with whichmodel(LOCAL_TM).


Modified:
    branches/bieri_gui/gui_bieri/relax_gui.py

Modified: branches/bieri_gui/gui_bieri/relax_gui.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_gui.py?rev=10277&r1=10276&r2=10277&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/relax_gui.py (original)
+++ branches/bieri_gui/gui_bieri/relax_gui.py Fri Jan 22 01:16:10 2010
@@ -75,6 +75,7 @@
 global_setting = ['1.02 * 1e-10', '-172 * 1e-6', 'N', 'H', '11', 'newton', 
'500']
 file_setting = ['0', '1', '2', '3', '4', '5', '6']
 sequencefile = ''
+LOCAL_TM = False
 
 # Table of relax Results
 table_residue = []
@@ -2844,12 +2845,13 @@
         event.Skip()
 
     def exec_model_free(self, event):     # start model-free calculation by 
relax
+        global LOCAL_TM
         
         checkpoint = check_entries(self)
         if checkpoint == False:
            which_model = None
         else:
-           which_model = whichmodel() 
+           which_model = whichmodel(LOCAL_TM) 
 
         # start individual calculations
         if not which_model == None:




Related Messages


Powered by MHonArc, Updated Fri Jan 22 16:40:02 2010