def execute(self): ''' Add your code here that will kick off the execution of the step. Make sure you call the _doneExecution() method when finished. This method may be connected up to a button in a widget for example. ''' # Put your execute step code here before calling the '_doneExecution' method. if self._view is None: simpleVizModel = SimpleVizModel() simpleVizModel.setLocation( os.path.join(self._location, self._config['identifier'])) self._view = SimpleVizWidget(simpleVizModel) self._view.registerDoneExecution(self._doneExecution) else: pass self._view.initialise() if self._inputScriptFileName is not None: self._view.loadScript(self._inputScriptFileName) self._setCurrentWidget(self._view)