Skip to content

Commit

Permalink
skip unwarping in CI with octave
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Oct 30, 2022
1 parent c2bb379 commit 2b9db28
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
13 changes: 6 additions & 7 deletions demos/MoAE/test_moae.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,18 @@

optionsFile = fullfile(WD, 'options', 'options_task-auditory.json');

space = {'IXI549Space'
space = {'individual'
'IXI549Space'
'IXI549Space'
'individual'
'individual'};
ignore = {{''}
ignore = {{'unwarp'}
{'unwarp', 'qa'}
{'unwarp'}
{''}
};
{''}};

models = {fullfile(WD, 'models', 'model-MoAE_smdl.json')
models = {fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')
fullfile(WD, 'models', 'model-MoAE_smdl.json')
fullfile(WD, 'models', 'model-MoAE_smdl.json')
fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')
fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')};

for iOption = 1:numel(space)
Expand Down
8 changes: 8 additions & 0 deletions demos/face_repetition/test_face_rep.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@

model_file = fullfile(WD, 'models', 'model-faceRepetition_smdl.json');

% skip unwarping with octave to avoid failure in CI
% see https://github.com/cpp-lln-lab/bidspm/issues/769
ignore = {''};
if isOctave
ignore = {'unwarp'};
end

for iResolution = 2:3

opt.pipeline.name = ['bidspm-res' num2str(iResolution)];
Expand All @@ -46,6 +53,7 @@
'action', 'preprocess', ...
'task', {'facerepetition'}, ...
'space', {'IXI549Space'}, ...
'ignore', ignore, ...
'options', opt);

%% stats
Expand Down

0 comments on commit 2b9db28

Please sign in to comment.