Closed mohebial closed 9 months ago
Hi @mohebial
The logic looks correct to me. The "legacy" files have {channel}.continuous
. I think that the problem is that you are not pointing to the root open ephys folder, but to a recording
folder. You should use the folder_name
that contains the Record Node ***
folder.
Hi @alejoe91, I am trying to load an open ephys neuropixel recording and I am getting the following error.
I think the logic of the if condition in the spikeinterface/src/spikeinterface/extractors/neoextractors/openephys.py line 334 is reverse and should be:
if ~np.any([f.endswith("continuous") for f in files]):
Changing that in the code fixed my issue. I appreciate it if you take a look and let me know if I have made a mistake.Cheers, Ali
line 332:340