Skip to content
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

Cannot pre-proccess data for the first time [FileNotFoundError] #64

Open
Temp2Spec opened this issue Aug 31, 2022 · 1 comment
Open

Comments

@Temp2Spec
Copy link

Hi,

I have just started using B-SOiD and I'm super excited about this. Unfortunatelly, I have problems right from the start.
After I follow the great instructions and gifs on the website I set up the file structure as suggested and I press preprocess for the first time.

The software goes through the files and then finally it throws an error:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Cerna\Documents\deeplabcut\Neuromodulators_project\Neuromodulators_Homecage-AT-2022-08-03\BSOID/output\2022Aug30_data.sav'
Traceback:

File "c:\users\cerna\anaconda3\envs\bsoid\lib\site-packages\streamlit\script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "C:\Users\Cerna\B-SOID\bsoid_app.py", line 42, in
processor.compile_data()
File "C:\Users\Cerna\B-SOID\bsoid_app\data_preprocess.py", line 110, in compile_data
with open(os.path.join(self.working_dir, str.join('', (self.prefix, '_data.sav'))), 'wb') as f:

I am running this on windows, so I have gone through the process of changing backslashes to forward ones etc. I also noticed that in that example gif which is on a windows computer all the slashes are back (windows style) while the last one for the output folder is forward, so I followed that but still I get the error.

Can you please advise?

Thank you for all your work!

Best,
Antonis

@zhenyuan992
Copy link

what are the file structures that you have? maybe try:
C:\Users\Cerna\Documents\deeplabcut\Neuromodulators_project\Neuromodulators_Homecage-AT-2022-08-03\BSOID/output\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants