1- function bidsResults(funcFWHM , conFWHM , opt , isMVPA )
1+ function bidsResults(opt , funcFWHM , conFWHM , isMVPA )
22 % This scripts computes the results for a series of contrast that can be
33 % specified at the run, subject or dataset step level (see contrast specification
44 % following the BIDS stats model specification)
@@ -28,9 +28,9 @@ function bidsResults(funcFWHM, conFWHM, opt, isMVPA)
2828 switch opt .result .Steps(iStep ).Level
2929
3030 case ' run'
31- error (' run level not implemented yet' );
31+ warning (' run level not implemented yet' );
3232
33- saveMatlabBatch(matlabbatch , ' computeFfxResults' , opt , subID ); % #ok<UNRCH>
33+ % saveMatlabBatch(matlabbatch, 'computeFfxResults', opt, subID);
3434
3535 case ' subject'
3636
@@ -44,7 +44,10 @@ function bidsResults(funcFWHM, conFWHM, opt, isMVPA)
4444 iStep , ...
4545 iCon );
4646
47- saveMatlabBatch(matlabbatch , ' computeFfxResults' , opt , subID );
47+ % TODO
48+ % Save this batch in for each subject and not once for all
49+
50+ saveMatlabBatch(matlabbatch , ' computeFfxResults' , opt );
4851
4952 case ' dataset'
5053
@@ -60,7 +63,7 @@ function bidsResults(funcFWHM, conFWHM, opt, isMVPA)
6063 matlabbatch = resultsMatlabbatch( ...
6164 matlabbatch , opt , iStep , iCon , results );
6265
63- saveMatlabBatch(matlabbatch , ' computeFfxResults ' , opt );
66+ saveMatlabBatch(matlabbatch , ' computeRfxResults ' , opt );
6467
6568 end
6669 end
0 commit comments