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

Error running eMouse_drift in find_merges #483

Closed
GrimmSnark opened this issue Mar 23, 2022 · 1 comment · Fixed by #595
Closed

Error running eMouse_drift in find_merges #483

GrimmSnark opened this issue Mar 23, 2022 · 1 comment · Fixed by #595

Comments

@GrimmSnark
Copy link

Hello,

So I am trying to get the eMouse_drift simulation script to test out some parameters for kilosort.

Unfortunately, I get the following error:

Number of spikes before applying cutoff: 63302
Error using reshape
Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that
dimension.

Error in find_merges (line 25)
    Wr = reshape(W, [Nfilt * nt0, 6]);

Error in main_eMouse_drift (line 87)
        rez = find_merges(rez, 1);
 
25      Wr = reshape(W, [Nfilt * nt0, 6]);

Does anyone have any suggestions to bypass or fix this error?

Thanks a lot,

Michael

@GrimmSnark
Copy link
Author

So I have managed to resolve this issue by running the data creation portion (makeNewData) of main_eMouse_drift.m then running the data through the kilosort GUI and then separately running the runBenchmark poriton of main_eMouse_drift.m.

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

Successfully merging a pull request may close this issue.

1 participant