Skip to content

Commit 39b8f07

Browse files
committed
update warning BrainSenseSurveys
1 parent 49440fc commit 39b8f07

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

toolbox/perceiveModular.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,12 @@ function perceiveModular(files, sub, sesMedOffOn01, extended, gui, localsettings
274274
perceive_extract_brainsensesurvey(data, hdr); %this does not save any data
275275

276276
case 'BrainSenseSurveys'
277-
assert(config.DataVersion == 1.2)
278-
%continue
277+
if config.DataVersion ~= 1.2 && config.DataVersion ~= 1.3
278+
warning('For "BrainSenseSurveys": DataVersion: %.1f. Expected 1.2 or 1.3.', config.DataVersion);
279+
else
280+
warning('For "BrainSenseSurveys": DataVersion 1.2 or 1.3. data should be exact copy of "BrainSenseSurvey", and is only be processed under "BrainSenseSurvey"');
281+
end
282+
%continue, no processing here
279283

280284
case 'BrainSenseSurveysTimeDomain'
281285
alldata_bstd = perceive_extract_brainsensesurveystimedomain(data, hdr);

0 commit comments

Comments
 (0)