def removePattern(self,
                      match_function,
                      allowed_matches=0,
                      minimum_matches=1,
                      delete_frame=1,
                      search_frame=1):
        nmatches = [0] * self.getWidth()

        for s in map(lambda x: x.mString, self.mMali.values()):
            for x in range(0, len(s), search_frame):
                segment = s[x:x + search_frame]
                if match_function(segment):
                    nmatches[x] += 1

        columns = []
        delete_columns = []

        for x in range(len(nmatches)):
            if nmatches[x] >= allowed_matches and nmatches[x] < minimum_matches:
                columns.append(x)
            else:
                delete_columns.append(x)

        if delete_frame != 1:
            s = set(columns)
            for x in delete_columns:
                start = int(math.floor(float(x) / delete_frame) * delete_frame)
                end = start + delete_frame
                for c in range(start, end):
                    if c in s:
                        s.remove(c)

            columns = list(s)
            columns.sort()

        self.takeColumns(columns)
Retrieve all currently scheduled delayed calls.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/Mali.py/Mali.removePattern--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/interfaces.py/IReactorTime.getDelayedCalls