def __getitem__(self, idx):
        idx = tuple(idx)
        if self.idx not in idx:
            self.idx[idx] = len(self.idx)
        return self.idx[idx]
dataset/ETHPy150Open gallantlab/pycortex/cortex/polyutils.py/_ptset.__getitem__/swapped operands of `not in`