def _validate(self):
        """
        Ensure that our percentile bounds are well-formed.
        """
        if not 0.0 <= self._min_percentile < self._max_percentile <= 100.0:
            raise BadPercentileBounds(
                min_percentile=self._min_percentile,
                max_percentile=self._max_percentile,
                upper_bound=100.0
            )
        return super(PercentileFilter, self)._validate()
def _validate ( self ) : if not 0.0 <= self . _min_percentile < self . _max_percentile <= 100.0 : raise BadPercentileBounds ( min_percentile = self . _min_percentile , max_percentile = self . _max_percentile , upper_bound = 100.0 ) return super ( PercentileFilter , self ) . _validate ( )
Ensure that our percentile bounds are well-formed.