def addToLayout(self, startrow, startcol, andThenPostpone = None, endPostpone = None):

        if endPostpone != None:
            self.postponeLayoutUpdate = not endPostpone
        if not self.postponeLayoutUpdate \
        and self.layout != None \
        and (startrow != self.nextrow or startcol != self.nextcol):
            if self.widgetsInList != []:
                self.layout.addTempBlock((startrow, startcol), (self.nextrow, self.nextcol), self.widgetsInList)
                self.widgetsInList = []
        if andThenPostpone != None:
            self.postponeLayoutUpdate = andThenPostpone

    # -------------------------------------------------------------------------
%prog mappability reference.fasta
dataset/ETHPy150Open sahana/eden/modules/s3db/survey.py/survey_DataMatrixBuilder.addToLayout--crossover with--dataset/ETHPy150Open tanghaibao/jcvi/variation/snp.py/mappability