Error plotting Connectivity Measures

Hi -

I've computed Granger connectivity analyses with the most recent versions of Brainstorm, and when I select "Display as graph 2021 [NxN]", I get the following error:

56 Connectivity measure loaded
Index in position 1 exceeds array bounds (must not exceed 2).

Error in figure_connect_viz>BuildLinks (line 1473)
Node1 = DataPair(i, 1); Node2 = DataPair(i, 2);

Error in figure_connect_viz>SetRegionFunction (line 2889)
BuildLinks(hFig, RegionDataPair, false); %Note: make sure to use IsMeasureLink = false for this step

Error in figure_connect_viz>LoadFigurePlot (line 1401)
SetRegionFunction(hFig, getappdata(hFig, 'DefaultRegionFunction'));

Error in figure_connect_viz (line 29)
eval(macro_method);

Error in view_connect_viz (line 229)
figure_connect_viz('LoadFigurePlot', hFig);

Error in tree_callbacks>@(h,ev)view_connect_viz(filenameRelative,'GraphFull') (line 1895)
gui_component('MenuItem', jPopup, [], 'Display as graph (2021) [NxN]',
IconLoader.ICON_CONNECTN, [], @(h,ev)view_connect_viz(filenameRelative,
'GraphFull'));

Note that this does not occur if I select the "Display as graph 2013" or if I display as an image. I'm not sure if this is a bug or something else I need to do.

Thanks,
Ann

I can't reproduce this error.
Could you please share the file that you can't open?

  • Right-click on it > File > Show in file explorer
  • Upload the file somewhere (and include the channel file)
  • Post the downloading link

Thank you for taking time to check it out. I ran a few additional analyses since posting the errors, and the plotting seems to be working now.