Closed marytunun closed 1 year ago
Perhaps you didn't create the folder you're trying to save in?
Do you have / are you expecting 2 planes? I.e. do you have a fast focus switching setup (ETL, piezo)? Because the suite2p output implies it thinks your data contains 2 planes, and the error occurs for a 2nd plane folder.
Note at the beginning the following output:
Wrote 6330 frames per binary for 2 planes
And at the end the FileNotFoundError refers to "plane1", which would be the second plane:
'C:/Users/Maria/Documents/suite2p_docs/save_path\\suite2p\\plane1\\ops.npy'
I have no personal experience with multiplane analysis with suite2p, so this might still be an installation bug as you suspect, but it might also be a mismatch between your data and your settings?
Do you have / are you expecting 2 planes? I.e. do you have a fast focus switching setup (ETL, piezo)? Because the suite2p output implies it thinks your data contains 2 planes, and the error occurs for a 2nd plane folder.
Note at the beginning the following output:
Wrote 6330 frames per binary for 2 planes
And at the end the FileNotFoundError refers to "plane1", which would be the second plane:
'C:/Users/Maria/Documents/suite2p_docs/save_path\\suite2p\\plane1\\ops.npy'
I have no personal experience with multiplane analysis with suite2p, so this might still be an installation bug as you suspect, but it might also be a mismatch between your data and your settings?
Actually, my data has 1 plane, and it is also 1 in the 'main settings'. Do you think I should put 0 planes instead? Although that would be really weird...
Perhaps you didn't create the folder you're trying to save in?
The folder exists for sure. But what I also tried now is to not specify separate folders for save_path and fast_disk, and I got another error that started already during the extraction process:
----------- EXTRACTION
---ERROR---
Traceback (most recent call last):
File "C:\Users\Maria\anaconda3\envs\suite2p\lib\runpy.py", line 194, in _run_module_as_main
---ERROR---
return _run_code(code, main_globals, None,
File "C:\Users\Maria\anaconda3\envs\suite2p\lib\runpy.py", line 87, in _run_code
---ERROR---
exec(code, run_globals)
File "C:\Users\Maria\anaconda3\envs\suite2p\lib\site-packages\suite2p__main.py", line 81, in
Didn't really solve the issue, but I just jumped to my lab's data instead of the sample data and got other errors, which I better describe in a separate thread
Describe the issue:
I opened an issue here before about installation: https://github.com/MouseLand/suite2p/issues/946 Tried the suggested solution, but the sample data still had a 'strip data' issue, so I tried on tiff images from my actual lab. I have now a folder with those tiff images for analysis, all of them are 256x256.
Running suite2p almost worked, seems that it successfully went through steps of converting to binary, registration, ROI detection, extraction, classification and spike convolution. BUT after that I have errors, and it seems like those errors are not because of something I did..
Is suite2p for some reason not able to create thosee specific files/directories? I require your assistance with this error, thank you.
Reproduce the code example:
Error message:
No response
Version information:
suite2p v0.12.2.dev30+g828b5e2
Context for the issue:
Cannot open my tiff images because the running is interrupted