-
Notifications
You must be signed in to change notification settings - Fork 247
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
fprintf invalid format in rezToPhy2 #336
Comments
Can you stop it in debug mode to see what fprintf is upset about? The problem seems to be specific to your data paths and maybe file system format. What OS? |
I'm re-running it with a breakpoint on the I'm on Ubuntu 20.04, with Matlab R2019b. |
You could try sprintf instead of fprintf, it might be more informative.
Also, just disp the relevant variables (ops.fproc) and post the results
here.
Is this a new line in the actual code or just in the error:
```fprintf(fid,['dat_path = ''', strrep(rez.ops.fproc, '\', '/') '''\n']);```
There shouldn't be one there.
…On Fri, Feb 12, 2021, 6:55 AM Dradeliomecus ***@***.***> wrote:
I'm re-running it with a breakpoint on the fprintf, but I'm not sure how
to debug it (this is the very first time I'm using Matlab).
I'm on Ubuntu 20.04, with Matlab R2019b.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#336 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA6AYDUP26P2SKGMQTXXJ5LS6UJKPANCNFSM4XQRQPCQ>
.
|
The value of The error is the line |
It's supposed to point to the drift-corrected file created by Kilosort, otherwise the clusters won't make sense if you have a lot of drift. I don't really know why that line is failing for you. The params.py file should just look like this: dat_path = 'G:/Spikes/Sample/temp_wh.dat' |
I tried the following in the console, does it help?
|
Can you please try it without the strrep, so just
|
I tried it, and it still crashes:
However, I managed to change the line so that it does work (using concatenation instead of an array):
|
Does params.py look ok, and does it open in Phy? I'll try concatenation on my end too. |
Yes |
Hi,
I'm trying out
Kilosort 3
, and I managed to make it run, but it crashes at the very end (it saves everything to phy except for theparams.py
file)The error is:
The text was updated successfully, but these errors were encountered: