

def get_group_filters(self, group):
    ' Returns a list of all filters for a given filter group.\n\n        :param str group: Name of the group.\n        :returns: list\n        '
    if (not (group in self.filters)):
        raise KeyError(('No item named "%s" exists!' % str(group)))
    g = self.filters[group]
    if (not isinstance(g, self.FilterGroup)):
        raise TypeError(('Item "%s" is not a filter group!' % str(group)))
    return g.filters

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