mailr10487 - /branches/bieri_gui/gui_bieri/controller.py


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

Header


Content

Posted by edward on January 28, 2010 - 12:21:
Author: bugman
Date: Thu Jan 28 12:21:51 2010
New Revision: 10487

URL: http://svn.gna.org/viewcvs/relax?rev=10487&view=rev
Log:
Removed all the model-free code from the controller module.


Modified:
    branches/bieri_gui/gui_bieri/controller.py

Modified: branches/bieri_gui/gui_bieri/controller.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/controller.py?rev=10487&r1=10486&r2=10487&view=diff
==============================================================================
--- branches/bieri_gui/gui_bieri/controller.py (original)
+++ branches/bieri_gui/gui_bieri/controller.py Thu Jan 28 12:21:51 2010
@@ -35,26 +35,6 @@
 from gui_bieri.execution.calc_noe import make_noe
 from gui_bieri.execution.calc_rx import make_rx
 from gui_bieri.paths import IMAGE_PATH
-
-
-def start_modelfree(self, model, automatic):
-    """Model-free calculation."""
-
-    # define calculation
-    global WHICH_CALC
-    WHICH_CALC = 'Model-free'
-
-    # Parameters for calculation
-    global PARAMETERS
-    main = self
-    PARAMETERS = [main, model, automatic, global_setting, file_setting, 
sequencefile]
-
-    # launch log dialog
-    logwindow = Log_window(None, -1, "")
-    logwindow.ShowModal()
-    sys.stdout = sys.__stdout__
-    sys.stderr = sys.__stderr__
-    return ''
 
 
 def start_noe(target_dir, noe_ref, noe_sat, rmsd_ref, rmsd_sat, nmr_freq, 
struct_pdb, unres, execute, self, freqno, global_setting, file_setting, 
sequencefile):
@@ -136,9 +116,6 @@
         #if WHICH_CALC == 'Noe':
         #    thread.start_new_thread(make_noe, (PARAMETERS[0], 
PARAMETERS[1], PARAMETERS[2], PARAMETERS[3], PARAMETERS[4], PARAMETERS[5], 
PARAMETERS[6], PARAMETERS[7], PARAMETERS[8], PARAMETERS[9], PARAMETERS[10], 
PARAMETERS[11], PARAMETERS[12], PARAMETERS[13]))
 
-        #if WHICH_CALC == 'Model-free':
-        #    thread.start_new_thread(start_model_free, (PARAMETERS[0], 
PARAMETERS[1], PARAMETERS[2], PARAMETERS[3], PARAMETERS[4], PARAMETERS[5]))
-
 
     def __do_layout(self):
 




Related Messages


Powered by MHonArc, Updated Thu Jan 28 12:40:03 2010