def __init__(self, n_components=2, signal_cov=None, correct_overlap='auto',
                 reg=None):
        """init xdawn."""
        self.n_components = n_components
        self.signal_cov = signal_cov
        self.reg = reg
        self.filters_ = dict()
        self.patterns_ = dict()
        self.evokeds_ = dict()

        if ['auto', True, False] not in correct_overlap:
            raise ValueError('correct_overlap must be a bool or "auto"')
        self.correct_overlap = correct_overlap
dataset/ETHPy150Open mne-tools/mne-python/mne/preprocessing/xdawn.py/Xdawn.__init__/swapped operands of `not in`