PEATDB/plugins/PEATSAplugin.py
def mergeCurrent(self):
        """Auto merge selected job results to main table
            called from GUI """
        job, name = self.getJob()
        if job==None:            
            return      
        
        #get field name to use
        colname = tkSimpleDialog.askstring("Column name?",
                                   "Name for column:",
                                    initialvalue=name+'_Predictions',
                                    parent=self.mainwin)
        M = self.parent.tablemodel
        self.mergeResults(job, colname, M)
        self.parent.updateTable()
        
        #also send some meta data to peatsa_meta?
        '''from Correlation import CorrelationAnalyser  
        C = CorrelationAnalyser()    
        cc,rmse = C.getStats(pre,exp)        
        data.append({'name':p,'rmse':rmse,'cc':cc}) '''        
        return
Auto merge selected job results to main table
            called from GUI 
Auto merge selected job results to main table
called from GUI
Auto merge selected job results to main table called from GUI
def mergeCurrent(self):
        job, name = self.getJob()
        if job==None:            
            return      
        colname = tkSimpleDialog.askstring("Column name?",
                                   "Name for column:",
                                    initialvalue=name+'_Predictions',
                                    parent=self.mainwin)
        M = self.parent.tablemodel
        self.mergeResults(job, colname, M)
        self.parent.updateTable()
        return
def mergeCurrent ( self ) : job , name = self . getJob ( ) if job == None : return colname = tkSimpleDialog . askstring ( "Column name?" , "Name for column:" , initialvalue = name + '_Predictions' , parent = self . mainwin ) M = self . parent . tablemodel self . mergeResults ( job , colname , M ) self . parent . updateTable ( ) '''from Correlation import CorrelationAnalyser  
        C = CorrelationAnalyser()    
        cc,rmse = C.getStats(pre,exp)        
        data.append({'name':p,'rmse':rmse,'cc':cc}) ''' return
Auto merge selected job results to main table
called from GUI
Auto merge selected job results to main table called from GUI
"""Auto merge selected job results to main table
            called from GUI """ #get field name to use #also send some meta data to peatsa_meta? '''from Correlation import CorrelationAnalyser  
        C = CorrelationAnalyser()    
        cc,rmse = C.getStats(pre,exp)        
        data.append({'name':p,'rmse':rmse,'cc':cc}) '''
self