int-brain-lab / iblapps

pyqt5 dependent applications for IBL sessions
MIT License
25 stars 15 forks source link

Why 'extract_files.py' delete temporary file 'temp_wh.dat' created by kilosort? #93

Open PathwayinGithub opened 1 year ago

PathwayinGithub commented 1 year ago

Hi! I found that the temporary file of kilosort 'tmep_wh.dat' was deleted after I run the extract_files.py. But I still want to use the temporary file later.

for example, my path in extract_files:

Path to KS2 output

ks_path = Path(r'G:/SGL_DATA/230406-s16/s16_g1_imec1')

Path to raw ephys data

ephys_path = Path(r'G:/SGL_DATA/230406-s16/s16_g1_imec1')

Save path

out_path = Path(r'G:/SGL_DATA/230406-s16/s16_g1_imec1/ibl_output_16B')

And 'temp_wh.dat' was under ks_path either.

Any one know why and how to fix this problem?THANKS