@staticmethod
    def _clean_measure(measure, a):
        if measure in ['a', 'H', 'COH', 'pCOH']:
            return np.abs(a)
        elif ['S', 'g'] in measure:
            return np.log(np.abs(a))
        else:
            return np.real(a)
dataset/ETHPy150Open scot-dev/scot/scot/ooapi.py/Workspace._clean_measure/swapped operands of `in`