First, apologies; I am unsure whether this is actually a bug as there are multiple compounding factors.
In 2016 we analyzed some MEEG data in brainstorm (on a unix server with brainstorm also running in unix). This week I wanted to reopen some of the files for further analyses, and as I had a copy of the protocol folder on a hard drive, opened the protocol on a windows 10 machine with the latest Brainstorm version (02-May-2019) and Matlab R2018b (file->load protocol->load from folder). Mostly, everything works perfectly except I cannot view the raw .fif files. First, the links to raw .fif files needed updating. When trying to open the file (i.e. MEG (all) -> display time series and then finding the correct file using the brainstorm prompt that pops up), it clearly loads the file to some extent as, for example, the Events window updates and shows the correct event structure of the file. However, the 'View time series' window is stuck with the message "Loading data..." and an error message is printed in the Matlab's Command Window (please see below; also please see https://imgur.com/BRvha79 for a screencap). A similar message (see link at the very bottom of the page) pops up when I try to, for example, filter the raw data file. Any advice would be appreciated - is this an error between keyboard and chair or is there something else that has gone awry?
###ERROR MESSAGE WHEN ATTEMPTING TO VIEW TIME SERIES
Error using fiff_read_tag (line 232)
Cannot handle other than dense or sparse matrices yet
Error in fif_read_raw_segment (line 100)
tag = fiff_read_tag(sfid,this.ent.pos);
Error in in_fread_fif (line 54)
[F, TimeVector] = fif_read_raw_segment(sFile, sfid,
SamplesBounds, iChannels);
Error in in_fread (line 84)
[F,TimeVector] = in_fread_fif(sFile, sfid,
iEpoch, SamplesBounds, iChannels);
Error in panel_record>ReadRawBlock (line 1173)
[F, TimeVector] = in_fread(sFile, ChannelMat, iEpoch,
smpBlock, [], ImportOptions);
Error in panel_record (line 30)
eval(macro_method);
Error in bst_memory>LoadRecordingsRaw (line 888)
F = panel_record('ReadRawBlock',
GlobalData.DataSet(iDS).Measures.sFile, ChannelMat,
iEpoch, TimeRange, 1, RawViewerOptions.UseCtfComp,
RawViewerOptions.RemoveBaseline, UseSsp);
Error in bst_memory>LoadRecordingsMatrix (line 822)
DataMat.F = LoadRecordingsRaw(iDS);
Error in bst_memory>GetRecordingsValues (line 1940)
LoadRecordingsMatrix(iDS);
Error in bst_memory (line 72)
eval(macro_method);
Error in figure_timeseries>GetFigureData (line 2269)
[Fall, StdAll] = bst_memory('GetRecordingsValues',
iDS, [], [], isGradMagScale);
Error in figure_timeseries>PlotFigure (line 2352)
[F, TsInfo, Std] = GetFigureData(iDS, iFig);
Error in figure_timeseries (line 39)
eval(macro_method);
Error in view_timeseries (line 241)
isOk = figure_timeseries('PlotFigure', iDS, iFig);
Error in
tree_callbacks>@(h,ev)view_timeseries(filenameRelative,AllMod{iMod},[],'NewFigure')
(line 1275)
gui_component('MenuItem',
jMenuModality, [], 'Display
time series',
IconLoader.ICON_TS_DISPLAY,
[],
@(h,ev)view_timeseries(filenameRelative,
AllMod{iMod}, [],
'NewFigure'));
###ERROR MESSAGE WHEN FILTERING THE DATA, IN A BRAINSTORM POPUP WINDOW