BS crashes adding EEG positions

Hi everyone!
I was setting up the electrode positions (as I always do in BS) by adding EEG positions -- ICBM -- Generic-- ASA94

and then I got this:

Undefined function or variable 'sMriMni'.

Error in channel_add_loc (line 139)
P = cs_convert(sMriMni, 'scs', 'mni', P);

Error in tree_callbacks>@(h,ev)channel_add_loc(iAllStudies,fList(iFile).fullpath,1,isMni) (line 2811)
fcnCallback = @(h,ev)channel_add_loc(iAllStudies, fList(iFile).fullpath, 1, isMni);

I have never seen this error warning before,
help!

Thank in advances!

UPDATE: I got the same trying with another subject or EEG file

Oops, you captured a case that I was missing in my tests...

I fixed the problem here: Add EEG position: Convert MNI to subject space (fix) · brainstorm-tools/brainstorm3@8d31929 · GitHub
Please update Brainstorm and try again.

I committed this change only two hours ago, thanks for being so reactive!

2 Likes