PEATDB/plugins/PEATSAplugin.py
def mergeResults(self, job, colname, tablemodel):
        """Merge given job results to tablemodel"""       
        if job==None:
            return      
        matrices = job.data.allMatrices()
        if not colname:
            return
        nf={'Total':colname}
        for m in matrices:
            matrix = matrices[m]
            if matrix == None: continue
            M = self.mergeMatrix(matrix, tablemodel, fields=['Total'], newfields=nf)            
        return
Merge given job results to tablemodel
Merge given job results to tablemodel
Merge given job results to tablemodel
def mergeResults(self, job, colname, tablemodel):
        if job==None:
            return      
        matrices = job.data.allMatrices()
        if not colname:
            return
        nf={'Total':colname}
        for m in matrices:
            matrix = matrices[m]
            if matrix == None: continue
            M = self.mergeMatrix(matrix, tablemodel, fields=['Total'], newfields=nf)            
        return
def mergeResults ( self , job , colname , tablemodel ) : if job == None : return matrices = job . data . allMatrices ( ) if not colname : return nf = { 'Total' : colname } for m in matrices : matrix = matrices [ m ] if matrix == None : continue M = self . mergeMatrix ( matrix , tablemodel , fields = [ 'Total' ] , newfields = nf ) return
Merge given job results to tablemodel
Merge given job results to tablemodel
"""Merge given job results to tablemodel"""
self
job
colname
tablemodel