def setIncludeParentsWhenFiltering(self, includeParentsWhenFiltering):
        self._includeParentsWhenFiltering = includeParentsWhenFiltering
        if self._filteredRoots is not None:
            # Currently filtered so needs to be re-filtered
            self.doFilterContainer(True)
Controls how the filtering of the container works. Set this to true
dataset/ETHPy150Open rwl/muntjac/muntjac/data/util/hierarchical_container.py/HierarchicalContainer.setIncludeParentsWhenFiltering