

def get_active_filters(self):
    ' Returns a list of tuples with all active filters contained in\n        this manager and their names.\n        '
    ret = []
    for (i_name, i) in self.filters.iteritems():
        if isinstance(i, self.FilterGroup):
            for (f_name, f) in i.filters.iteritems():
                if f.active:
                    ret.append((f, f_name))
        elif i.active:
            ret.append((i, i_name))
    return ret

dataset/ETHPy150Open rproepp/spykeviewer/spykeviewer/plugin_framework/filter_manager.py FilterManager.get_active_filters/original