Ejemplo n.º 1
0
    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()
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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)
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 def move_to_data_processing(self,dummy=None):
     move_to_data_processing(self)