Hi all,
On Matlab R2021a. I updated my brainstorm this morning to the newest version (Version: 22-Jun-2022).
Now, whenever I double click to try to open a raw recording, or its Welch power spectrum, I get an error for the first or first two attempts - after which it loads.
The error message:
** Error: Line 4008: Undefined function 'ICON_Y_UP' for input arguments of type 'org.brainstorm.icon.IconLoader'.
**
** Call stack:
** >figure_timeseries.m>CreateScaleButtons at 4008
** >figure_timeseries.m at 41
** >figure_spectrum.m>UpdateFigurePlot at 1308
** >figure_spectrum.m at 28
** >view_spectrum.m at 191
** >tree_callbacks.m at 451
** >bst_call.m at 28
** >panel_protocols.m>CreatePanel/protocolTreeClicked_Callback at 125
** >bst_call.m at 28
** >panel_protocols.m>@(h,ev)bst_call(@protocolTreeClicked_Callback,h,ev) at 75
**
That comes up the first time I try to open something with double click, after that it works.
However, when I try to open the EOG or EEG traces using right click --> hover --> display as time series the loading bar appears and just keeps trailing, while a bunch of similar error messages appear in the command window. Retrying does NOT result in opening the EOG/EEG traces in this instance.
However, opening them as 'display as image' does work correctly.
Error message:
Unrecognized function or variable 'ICON_Y_UP'.
Error in figure_timeseries>CreateScaleButtons (line 4008)
iconFlipY = IconLoader.ICON_Y_UP;Error in figure_timeseries>PlotFigure (line 3193)
CreateScaleButtons(iDS, iFig);Error in figure_timeseries (line 41)
eval(macro_method);Error in view_timeseries (line 273)
isOk = figure_timeseries('PlotFigure', iDS, iFig);Error in tree_callbacks>@(h,ev)view_timeseries(filenameRelative,AllMod{iMod},,'NewFigure') (line 1379)
gui_component('MenuItem', jMenuModality, , 'Display time series', IconLoader.ICON_TS_DISPLAY, , @(h,ev)view_timeseries(filenameRelative,
AllMod{iMod}, , 'NewFigure'));Unrecognized function or variable 'ICON_Y_UP'.
Error in figure_timeseries>CreateScaleButtons (line 4008)
iconFlipY = IconLoader.ICON_Y_UP;Error in figure_timeseries>PlotFigure (line 3193)
CreateScaleButtons(iDS, iFig);Error in figure_timeseries (line 41)
eval(macro_method);Error in view_timeseries (line 273)
isOk = figure_timeseries('PlotFigure', iDS, iFig);Error in tree_callbacks>@(h,ev)view_timeseries(filenameRelative,AllMod{iMod},,'NewFigure') (line 1379)
gui_component('MenuItem', jMenuModality, , 'Display time series', IconLoader.ICON_TS_DISPLAY, , @(h,ev)view_timeseries(filenameRelative,
AllMod{iMod}, , 'NewFigure'));
I think this is a small bug that slipped in with the new version.
Let me know if any further info is needed.
Emma