def refresh_state(self): if self.log.log['currentState'] == "Data Processing": move_to_data_processing(self) elif self.log.log['currentState'] == "Quality Assurance": move_to_quality_assurance(self) elif self.log.log['currentState'] == "Model": move_to_model(self) elif self.log.log['currentState'] == "Results Navigation": move_to_results_navigation(self) elif self.log.log['currentState'] == "Results Summary": move_to_results_summary(self) QtCore.QCoreApplication.processEvents()
def handle_data_processing_mode_callback(self,item=None): if item != None: self.log.log['dataProcessingAction'] = item if item not in ['channel select']: self.display_info("This stage is in beta testing and is not yet suggested for general use") move_to_data_processing(self)
def create_new_project(self): self.controller.create_new_project(self) if self.controller.homeDir != None: self.pDock.set_btn_highlight('data processing') move_to_data_processing(self)
def add_files_to_project(self): allFiles = QtGui.QFileDialog.getOpenFileNames(self, 'Open file(s)') allFilesList = [str(fileName) for fileName in allFiles] self.controller.model.load_files(allFilesList) move_to_data_processing(self)
def move_to_data_processing(self,dummy=None): move_to_data_processing(self)