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

auto merge doesn't work #56

Open
WeissShahaf opened this issue Apr 13, 2021 · 0 comments
Open

auto merge doesn't work #56

WeissShahaf opened this issue Apr 13, 2021 · 0 comments

Comments

@WeissShahaf
Copy link

is Ironclust still being maintained?
i've been using ironclust since it came out. and very happy overall.
some things are still broken though.

-Phy IO is not funcitonal. maybe because of changes to kilosort over the years. but been this way at least since kilosort2
-irc2, never worked for me. it runs, but in the gui cannot merge or split.

most crucial for me:
**-with irc manual *.prm (non irc2), auto merging crashes. ERROR:

Index exceeds the number of array elements (631).
Error in irc>@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})) (line 6753)
S_clu.viSite_clu =
double(arrayfun(@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})),
1:S_clu.nClu));
Error in irc>S_clu_map_index_ (line 6753)
S_clu.viSite_clu =double(arrayfun(@(iClu)mode(viSite_spk(S_clu.cviSpk_clu{iClu})),1:S_clu.nClu));
Error in irc>post_merge_wav4_ (line 3875)
S_clu = S_clu_map_index_(S_clu, viMap_clu);
Error in irc>post_merge_wav_ (line 3729)
S_clu = post_merge_wav4_(S_clu, merge_thresh, P);
Error in irc>merge_auto_ (line 17798)
[S_clu, nClu_merge] = post_merge_wav_(S_clu, 1, setfield(P, 'maxWavCor',
maxWavCor));
Error in irc>@(h,e)merge_auto_() (line 5851)
uimenu_(mh_edit,'Label', 'Merge auto', 'Callback', @(h,e)merge_auto_());
Error while evaluating Menu Callback.**

I think this is due to one of the variables not being updated when clusters are split/merged/deleted:
S_clu.nClu
S_clu.cviSpk_clu

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

No branches or pull requests

1 participant