Skip to content

Commit

Permalink
additional fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 24, 2024
1 parent 7e51908 commit 81529f0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
-v /tmp/workspace/data/ds000001:/bids_dataset \
-v /home/circleci/outputs:/outputs \
<< parameters.dh_orga >>/<< parameters.dh_repo >> \
/outputs/ds000001 \
/bids_dataset \
/outputs/ds000001 \
dataset \
create_roi \
Expand Down
29 changes: 16 additions & 13 deletions demos/MoAE/test_moae.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,18 @@

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

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

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

Expand All @@ -65,14 +66,16 @@
%% stats
preproc_dir = fullfile(output_dir, 'bidspm-preproc');

% only specify the subject level model
bidspm(bids_dir, output_dir, 'subject', ...
'participant_label', {'01'}, ...
'action', 'stats', ...
'preproc_dir', preproc_dir, ...
'model_file', models{iOption}, ...
'options', optionsFile, ...
'design_only', true);
if ~bids.internal.is_octave() && ~ispc()
% only specify the subject level model
bidspm(bids_dir, output_dir, 'subject', ...
'participant_label', {'01'}, ...
'action', 'stats', ...
'preproc_dir', preproc_dir, ...
'model_file', models{iOption}, ...
'options', optionsFile, ...
'design_only', true);
end

% specify, estimate model and contrasts, and view results
bidspm(bids_dir, output_dir, 'subject', ...
Expand Down
3 changes: 2 additions & 1 deletion tests/tests_slow/tests_cli/test_bidspm_default_stats_model.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ function test_createDefaultStatsModel_CLI()
'action', 'default_model', ...
'task', {'vislocalizer', 'vismotion'}, ...
'space', {'individual'}, ...
'verbosity', 0);
'verbosity', 0, ...
'skip_validation', true);

% make sure the file was created where expected
expectedFilename = fullfile(outputPath, 'derivatives', 'models', ...
Expand Down

0 comments on commit 81529f0

Please sign in to comment.