-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Permission denied" when using se.NwbRecordingExtractor #85
Comments
Hi @NilsNyberg What version of Let me know if that works Alessio |
I was using the newest version, but tried downgrading to 2.10.0 now. I have confirmed it successfully downgraded to 2.10.0 via pip show h5py. I also again open the Anaconda console with administrative privileges. However, when I run the code I get the same error message. I can also mention that I have tried different NWB files of different sizes (ranging from 0.66mb to 20+ gb) and I get the same error message on all of them. I haven't had a chance to try another computer yet, but gonna try to do it this afternoon. I have attached the message again, in case you want to have a look:
Any other suggestions for what might be causing the permission error? |
Can you try to open it directly in NWB?
If this fail as well, then the problem is somewher in the nwb file. Maybe you don't have the right file permissions? |
I get the "No data_type found for builder root" error (I have attached it below). Doing a quick google search and found this: NeurodataWithoutBorders/pynwb#1077 suggesting this is likely due to the file being in NWB 1.0 and not 2.0. Does spikeinterface only work with NWB 2.0? If so, is there any way to get spikeinterface to work with NWB 1.0 as well?Afaik that is the only version of NWB that can be outputted by Open Ephys recordings (you can always record in another format and convert to NWB later I suppose, but would be great if spikeinterface would work with all the formats directly outputted by open ephys). Using the following code
gives
|
@bendichter maybe it'd make sense to keep back-compatibility with NWB 1.0? But I guess that would require to have an old version of @NilsNyberg at the moment only 2.0 is supported unfortunately. Sorry about that! |
Thanks for the help (again!) - yeah I think for future-proofing I'd better move to binary instead... It's a shame Open Ephys does not yet give the availability to save directly to NWB 2.0, but I think its a work in progress at least. |
No worries at all :) |
@alejoe91, unfortunately there is no way to open NWB 1.0 files with pynwb, and they are unlikely to support it going forward. It would be nice to support OpenEphys data in spikeextractors, particularly if in a version of NWB. It would be easiest to do this via h5py. @NilsNyberg, can you share an example file? |
Can we close this ? |
Hi everyone,
I am trying to build a new spike sorting pipeline using SpikeInterface.
For my recordings I am using the Open Ephys acqusition system, and I am saving my recorded data in the NWB format.
Lastly, I am using the "NWB_Developer_Breakout_Session_Sep2020" tutorial as a starting point. However, I only get as far as the 2nd cell in the jupyter notebook.
I am running using the 64-bit Windows 10 Enterprise OS, and I am opening the jupyter notebook in the Anaconda Prompt (Miniconda3) with administrative privileges.
Below is the code. I have simply put the experiment_1.nwb file, outputted by the Open Ephys system, together with the settings.xml file in a new folder I have called 'nwb-dataset'. This folder exists in the same folder as the jupyter tutorial notebook (i.e., in the same folder as the 'open-ephys-dataset' folder, and the code runs fine when I run the original code on that folder):
and here is the error message:
If I instead use the following code:
I get the following error:
Thank you in advance, and please let me know if you require any further information from me.
Best,
Nils
The text was updated successfully, but these errors were encountered: