Kilosort: Errors when running test code 'master_eMouse'

115 views
Skip to first unread message

jl...@email.uark.edu

unread,
Sep 25, 2018, 12:11:07 AM9/25/18
to KlustaViewas
Hello Klusta team,

I downloaded and installed Kilosort under C: (also downloaded npy-matlab under C:), but when I run the test code 'master_eMouse.m' it gives me errors as below:

Error using fwrite
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in writeNPY (line 19)
fwrite(fid, header, 'uint8');

Error in rezToPhy (line 78)
    writeNPY(spikeTimes, fullfile(savePath, 'spike_times.npy'));

Error in master_eMouse (line 37)
rezToPhy(rez, [fpath,'preAutoMerge\']);

The error happens after the results summary shows up. Does anyone have any idea about what is wrong here?

Thanks a lot!
Jingwen

heeju...@gmail.com

unread,
Nov 9, 2018, 5:10:48 AM11/9/18
to KlustaViewas

Hello,
I see the same error.
Could you share the solution for this if you have solved this problem?
Thank you.
Hee-Jun




2018년 9월 25일 화요일 오후 1시 11분 7초 UTC+9, jl...@email.uark.edu 님의 말:

heeju...@gmail.com

unread,
Nov 9, 2018, 5:14:33 AM11/9/18
to KlustaViewas
This line works for me.

rezToPhy(rez, [cd,'\preAutoMerge\']); 

instead of the original line 37



2018년 11월 9일 금요일 오후 7시 10분 48초 UTC+9, heeju...@gmail.com 님의 말:
Reply all
Reply to author
Forward
0 new messages