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

irc2 manual #44

Open
WeissShahaf opened this issue Feb 11, 2020 · 4 comments
Open

irc2 manual #44

WeissShahaf opened this issue Feb 11, 2020 · 4 comments

Comments

@WeissShahaf
Copy link

Hey James,

is there a manual curation step for irc2? i'm wondering if i'm not using it right.
when running irc2 manual,i get the following error on on PC:

irc2 manual
irc2 (5.6.11) opening E:\runfolder\irc2\raw_geom.prm
Loading irc2\raw_geom.prm... took 14.9s
Loading feature 1... took 63713.3s <<<<<-17 Hours!
create_S_ui_: todo
Undefined function or variable 'set_'.
Error in irc2_ui>figure_wait_ (line 1287)
set_(vhFig, 'Pointer', 'watch');
Error in irc2_ui>plot_FigWavCor_ (line 959)
figure_wait_(1, hFig);
Error in irc2_ui (line 35)
plot_FigWavCor_(S0); % need S_clu.mrWavCor
Error in irc2 (line 131)
case {'manual', 'ui'}, irc2_ui(P); return;

And another error on a different PC:

Index in position 3 exceeds array bounds (must not exceed 1).
GPU device reset
Error using cellfun
All of the input arguments
must be of the same size and
shape.
Previous inputs had size 303
in dimension 1. Input #4 has
size 1
Error in irc2_ui>cellfun_
(line 871)
varargout{1} =
cellfun(varargin{:},
'UniformOutput', 0);
Error in
irc2_ui>S0_trWav_clu_ (line
1045)
cviSpk_clu =
cellfun_(@(x,y,z)x(y==z),
S0.S_auto.cviSpk_clu,
cviSite_spk_clu,
cviSite_clu);
Error in
irc2_ui>plot_tnWav_clu_ (line
1061)
trWav_clu =
S0_trWav_clu_(S0);
Error in irc2_ui>plot_FigWav_
(line 73)
S_fig =
plot_tnWav_clu_(S_fig, P,
S0); %do this after
plotSpk_
Error in irc2_ui (line 34)
plot_FigWav_(S0); % hFigWav
%do this after for ordering
Error in irc2 (line 149)
case {'manual',
'ui'},
irc2_ui(P);
return;

@jamesjun
Copy link
Collaborator

jamesjun commented Feb 11, 2020 via email

@WeissShahaf
Copy link
Author

i reran irc2 spikesort with today's commit, irc2 runs :) , but in irc2 manual (i'm guessing that is working now as it's in the readme.md) everything loads, but i cannot do anything. again this happens on multiple OSs.

split error:
Index in position 3 exceeds array bounds (must not exceed 1).
Error in irc2_manual>tnWav_spk_sites_ (line 2087)
tnWav1 = pc2wav_(S0.mrPv_global, S0.trPc_spk(:,:,viSpk1));
Error in irc2_manual>auto_split_ (line 266)
trSpkWav1 = tnWav2uV_(tnWav_spk_sites_(S_manual.cviSpk_clu{iClu1}, viSites1, S0), P, 0);
Error in irc2_manual>keyPressFcn_FigWav_ (line 368)
case 's', auto_split_(1, S0);
Error while evaluating Figure KeyPressFcn.

merge error:

In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>test_ (line 18826)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 143)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1116)
In E:\ironclustGit\matlab\irc2_manual.m>ui_merge_ (line 2903)
In E:\ironclustGit\matlab\irc2_manual.m>keyPressFcn_FigWav_ (line 359)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'vnSpk_clu'.
GPU device reset

trying to change projection view:

In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>test_ (line 18826)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 142)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1115)
In E:\ironclustGit\matlab\irc2_manual.m>proj_view_ (line 2884)
In E:\ironclustGit\matlab\irc2_manual.m>@(h,e)proj_view_(h) (line 495)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'nClu'.
GPU device reset

trying to annotate:

In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>test_ (line 18826)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 142)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1115)
In E:\ironclustGit\matlab\irc2_manual.m>unit_annotate_ (line 2890)
In E:\ironclustGit\matlab\irc2_manual.m>@(h,e)unit_annotate_(h,e,'single') (line 508)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'nClu'.
GPU device reset

trying to set local drift view > In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>ui_show_drift_view_ (line 30701)
In E:\ironclustGit\matlab\irc.m>test_ (line 18804)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 142)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1115)
In E:\ironclustGit\matlab\irc2_manual.m>ui_show_drift_view_ (line 2889)
In E:\ironclustGit\matlab\irc2_manual.m>@(h,e)ui_show_drift_view_(1,h) (line 489)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'cviSpk_clu'.
GPU device reset

trying to set avg waveform view

In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>test_ (line 18826)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 142)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1115)
In E:\ironclustGit\matlab\irc2_manual.m>ui_show_all_chan_ (line 2888)
In E:\ironclustGit\matlab\irc2_manual.m>@(h,e)ui_show_all_chan_(1,h) (line 487)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'cviSpk_clu'.
GPU device reset

trying to view traces
Opening GL383_2019009_small_square_g0_tcat.imec0.ap.bin

In E:\ironclustGit\matlab\irc.m>disperr_ (line 18070)
In E:\ironclustGit\matlab\irc.m>test_ (line 18826)
In E:\ironclustGit\matlab\irc.m>call_ (line 18844)
In E:\ironclustGit\matlab\irc.m>irc (line 142)
In E:\ironclustGit\matlab\irc2_manual.m>call_irc_ (line 1115)
In E:\ironclustGit\matlab\irc2_manual.m>traces_ (line 2887)
In E:\ironclustGit\matlab\irc2_manual.m>@(h,e)traces_() (line 478)
Error log updated: E:\ironclustGit\matlab\error_log.mat
Reference to non-existent field 'viT_offset_file'.
GPU device reset

@RaphaelSteinfeld
Copy link

We are having the same issue.
irc2 runs very nicely - but then manual merging or annotating does not work.

Furthermore, when trying to export to another format for manual sorting, neither exporting to jrclust, nor phy format works.

exporting to phy:

Error using irc2>load_irc2_
Too many input arguments.

Error in irc2 (line 173)
    case {'export-phy', 'phy'}, open_phy_(load_irc2_(vcFile_prm, vcArg2));
    return;

exporting to Jrclust:

Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1)
==> nSites = 10;\n

Error in csvread (line 48)
    m=dlmread(filename, ',', r, c);

Error in irc2>geom2mat_ (line 261)
geometry = csvread(vcFile_geom);

Error in irc2 (line 181)
        geom2mat_(vcFile_prm);

Is there an estimate of when either of those will be available?

@jamesjun
Copy link
Collaborator

jamesjun commented Feb 21, 2020 via email

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

3 participants