forked from M-Labs/artiq
gui/experiments: improve resilience to broken/outdated artiq_gui.pyon
This commit is contained in:
parent
dbc0a89903
commit
223657fa63
@ -412,6 +412,13 @@ class ExperimentManager:
|
||||
dock = self.open_experiments[expurl]
|
||||
self.main_window.centralWidget().setActiveSubWindow(dock)
|
||||
return dock
|
||||
try:
|
||||
dock = _ExperimentDock(self, expurl)
|
||||
except:
|
||||
logger.warning("Failed to create experiment dock for %s, "
|
||||
"attempting to reset arguments", expurl,
|
||||
exc_info=True)
|
||||
del self.submission_arguments[expurl]
|
||||
dock = _ExperimentDock(self, expurl)
|
||||
self.open_experiments[expurl] = dock
|
||||
self.main_window.centralWidget().addSubWindow(dock)
|
||||
|
Loading…
Reference in New Issue
Block a user