finalized queueing and --clean parameter to recreate the locking
database. Fixes T80 and T88
This commit is contained in:
@@ -211,11 +211,12 @@ class DamarisGUI:
|
||||
|
||||
if start_immediately:
|
||||
if exp_script and res_script:
|
||||
self.start_immediatly = start_immediately
|
||||
self.start_immediately = start_immediately
|
||||
else:
|
||||
raise ("RuntimeError", "experiment and result scripts not given,\
|
||||
aborting immediate start of experiment")
|
||||
|
||||
else:
|
||||
self.start_immediately = False
|
||||
self.statusbar_init( )
|
||||
|
||||
self.main_window.maximize()
|
||||
@@ -271,9 +272,9 @@ class DamarisGUI:
|
||||
# prolong lifetime of clipboard till the very end (avoid error message)
|
||||
self.main_clipboard = self.sw.main_clipboard
|
||||
gtk.gdk.threads_enter( )
|
||||
if self.start_immediatly:
|
||||
self.toolbar_run_button.emit("clicked")
|
||||
|
||||
if self.start_immediately:
|
||||
self.toolbar_run_button.emit("clicked")
|
||||
gtk.main( )
|
||||
gtk.gdk.threads_leave( )
|
||||
self.si = None
|
||||
@@ -3206,7 +3207,6 @@ class ScriptInterface:
|
||||
self.data = DataPool( )
|
||||
|
||||
def runScripts( self ):
|
||||
|
||||
try:
|
||||
# get script engines
|
||||
self.exp_handling = self.res_handling = None
|
||||
|
Reference in New Issue
Block a user