I am running suite2p on multiple planes. During the second plane ROI extraction, the program shows an error saying the permission is denied for accessing the data.bin file within this folder. This didn't happen for folder one. Checking the property of this file, the user does have access to read and write. Any ideas of how I should fix this issue? Thank you!
Reproduce the code example:
run with the GUI
Error message:
>>>ERROR<<<
Traceback (most recent call last):
File "C:\Users\user\Anaconda3\envs\suite2p\lib\runpy.py", line 194, in _run_module_as_main
>>>ERROR<<<
return _run_code(code, main_globals, None,
File "C:\Users\user\Anaconda3\envs\suite2p\lib\runpy.py", line 87, in _run_code
>>>ERROR<<<
exec(code, run_globals)
File "C:\Users\user\Anaconda3\envs\suite2p\lib\site-packages\suite2p\__main__.py", line 78, in <module>
>>>ERROR<<<
main()
File "C:\Users\user\Anaconda3\envs\suite2p\lib\site-packages\suite2p\__main__.py", line 71, in main
>>>ERROR<<<
run_s2p(ops, db)
File "C:\Users\user\Anaconda3\envs\suite2p\lib\site-packages\suite2p\run_s2p.py", line 446, in run_s2p
>>>ERROR<<<
op = run_plane(op, ops_path=ops_path)
File "C:\Users\user\Anaconda3\envs\suite2p\lib\site-packages\suite2p\run_s2p.py", line 284, in run_plane
>>>ERROR<<<
io.BinaryRWFile(Ly=Ly, Lx=Lx, filename=reg_file) as f_reg, \
File "C:\Users\user\Anaconda3\envs\suite2p\lib\site-packages\suite2p\io\binary.py", line 27, in __init__
>>>ERROR<<<
self.file = open(filename, mode='r+b')
PermissionError: [Errno 13] Permission denied: 'Z:/experiment1/animal/d2\\suite2p\\plane1\\data.bin'
Interrupted by error (not finished)
Describe the issue:
I am running suite2p on multiple planes. During the second plane ROI extraction, the program shows an error saying the permission is denied for accessing the data.bin file within this folder. This didn't happen for folder one. Checking the property of this file, the user does have access to read and write. Any ideas of how I should fix this issue? Thank you!
Reproduce the code example:
Error message:
Version information:
suite2p v0.12.1
Context for the issue:
No response