Skip to content

Commit

Permalink
PRJ: try fix consecutive analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
leloup314 committed Sep 2, 2017
1 parent 50a398a commit fefd262
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testbeam_analysis/gui/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -601,13 +601,13 @@ def run_consecutive_analysis(self):
if self.tab_order.index(tab) >= self.tab_order.index(self.starting_tab_rca):

# Wait for analysis_thread to finish correctly
self.tw[tab].analysis_thread.wait()
# self.tw[tab].analysis_thread.wait()

# Handle consecutive analysis
self.tw[tab].proceedAnalysis.connect(lambda tab_list: handle_rca(tab_list))

# Start analysis by clicking ok button on starting tab
self.tw[self.starting_tab_rca].btn_ok.click()
self.tw[self.starting_tab_rca].btn_ok.clicked.emit()
self.p_bar_rca.setValue(self.tab_order.index(self.starting_tab_rca))
self.p_bar_rca.setFormat(self.starting_tab_rca)

Expand Down Expand Up @@ -664,7 +664,7 @@ def handle_rca(tab_list=None, interrupt=False):

# Click proceed button
try:
self.tw[tab_name].btn_ok.click()
self.tw[tab_name].btn_ok.clicked.emit()
except Exception as e:
# Alignment is skipped
if tab_name == 'Alignment':
Expand Down

0 comments on commit fefd262

Please sign in to comment.