@property
    def views(self):
        metadata = []
        for name, view in self.dataset:
            meta = view.to_json(simple=False)
            meta['name'] = name
            if meta['attrs'] in 'stim':
                meta['attrs']['stim'] = os.path.split(meta['attrs']['stim'])[1] 
            metadata.append(meta)
        return metadata
dataset/ETHPy150Open gallantlab/pycortex/cortex/webgl/data.py/Package.views/swapped operands of `in`