B-SOID icon indicating copy to clipboard operation
B-SOID copied to clipboard

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

Open Temp2Spec opened this issue 1 year ago • 1 comments

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

Temp2Spec avatar Aug 31 '22 07:08 Temp2Spec