@ori.setter
    def ori(self, value):
        if set('xy') in value:
            self._ori = value
        else:
            raise ValueError("Orientation must be one of 'x', 'y'")
dataset/ETHPy150Open glue-viz/glue/glue/core/roi.py/RangeROI.ori/swapped operands of `in`