Skip to content

Commit 240c6d2

Browse files
committed
add to demo
1 parent 0d25bbc commit 240c6d2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

demos/MoAE/test_moae.m

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,7 @@
4747
models = {fullfile(WD, 'models', 'model-MoAE_smdl.json')
4848
fullfile(WD, 'models', 'model-MoAE_smdl.json')
4949
fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')
50-
fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')
51-
};
50+
fullfile(WD, 'models', 'model-MoAEindividual_smdl.json')};
5251

5352
for iOption = 1:numel(space)
5453

@@ -69,6 +68,16 @@
6968
%% stats
7069
preproc_dir = fullfile(output_dir, 'bidspm-preproc');
7170

71+
% only specify the subject level model
72+
bidspm(bids_dir, output_dir, 'subject', ...
73+
'participant_label', {'01'}, ...
74+
'action', 'stats', ...
75+
'preproc_dir', preproc_dir, ...
76+
'model_file', models{iOption}, ...
77+
'options', optionsFile, ...
78+
'design_only', true);
79+
80+
% specify, estimate model and contrasts, and view results
7281
bidspm(bids_dir, output_dir, 'subject', ...
7382
'participant_label', {'01'}, ...
7483
'action', 'stats', ...

0 commit comments

Comments
 (0)