Closed zm711 closed 9 months ago
https://github.com/SpikeInterface/spikeinterface/blob/69d1f9a3db9ada72812204ca25012efec5c1ff40/src/spikeinterface/core/waveforms_extractor_backwards_compatibility.py#L334-L342
This fails because it returns the function which evaluates as truth-y
It should be
(folder / "spikeinterface_info.json").exists():
This evaluated as true and then failed in one of my datasets.
cc: @alejoe91 @samuelgarcia
Good catch!
Thanks. I fix it in #2502
https://github.com/SpikeInterface/spikeinterface/blob/69d1f9a3db9ada72812204ca25012efec5c1ff40/src/spikeinterface/core/waveforms_extractor_backwards_compatibility.py#L334-L342
This fails because it returns the function which evaluates as truth-y
It should be
This evaluated as true and then failed in one of my datasets.
cc: @alejoe91 @samuelgarcia