コード例 #1
0
ファイル: MainWindow.py プロジェクト: ajrichards/GenesDI
    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()
コード例 #2
0
ファイル: MainWindow.py プロジェクト: ajrichards/GenesDI
 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)
コード例 #3
0
ファイル: MainWindow.py プロジェクト: ajrichards/GenesDI
 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)
コード例 #4
0
ファイル: MainWindow.py プロジェクト: ajrichards/GenesDI
 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)
コード例 #5
0
ファイル: MainWindow.py プロジェクト: ajrichards/GenesDI
 def move_to_data_processing(self,dummy=None):
     move_to_data_processing(self)