Skip to content

Commit

Permalink
Merge pull request #308 from Kvieta1990/master
Browse files Browse the repository at this point in the history
bug fixing.
  • Loading branch information
marshallmcdonnell committed Nov 6, 2020
2 parents 754e7ba + f1d741f commit 29a506f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions addie/autoNOM/make_exp_ini_file_and_run_autonom.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class MakeExpIniFileAndRunAutonom(object):

def __init__(self, parent=None, folder=None):
self.parent_no_ui = parent
self.parent = parent.ui
# self.parent = parent.ui
self.parent = parent.autonom_ui
self.folder = folder

def create(self):
Expand Down Expand Up @@ -207,7 +208,8 @@ def run_auto_nom_script(self):
_script_to_run = self.script_to_run + self.script_flag
os.chdir(self.folder)

o_gui = Step1GuiHandler(parent=self.parent_no_ui)
# o_gui = Step1GuiHandler(parent=self.parent_no_ui)
o_gui = Step1GuiHandler(main_window=self.parent_no_ui)
o_gui.set_main_window_title()

_dict_mandatory = self._dict_mandatory
Expand Down
3 changes: 2 additions & 1 deletion addie/autoNOM/run_step1.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class RunStep1(object):
auto_folder_base_name = 'autoNOM'

def __init__(self, parent=None, run_autonom=True):
self.parent = parent.ui
# self.parent = parent.ui
self.parent = parent.autonom_ui
self.parent_no_ui = parent
self.run_autonom = run_autonom

Expand Down

0 comments on commit 29a506f

Please sign in to comment.