Skip to content

Commit 6d91013

Browse files
committed
reorganize test set up
1 parent 66304fb commit 6d91013

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/tests_workflows/stats/test_bidsRoiBasedGLM.m

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ function test_bidsRoiBasedGLM_run()
4141
opt.model.bm = BidsModel('file', opt.model.file);
4242
opt.model.bm.Input.space = opt.space;
4343

44+
opt.glm.roibased.do = true;
45+
opt.dryRun = false;
46+
opt.fwhm.func = 0;
47+
4448
bidsFFX('specify', opt);
4549

4650
% rmdir(fullfile(pwd, 'options'), 's');
@@ -55,10 +59,6 @@ function test_bidsRoiBasedGLM_run()
5559

5660
bidsCreateROI(opt);
5761

58-
opt.glm.roibased.do = true;
59-
opt.dryRun = false;
60-
opt.fwhm.func = 0;
61-
6262
opt.roi.name = {'.*V1v'};
6363

6464
bidsRoiBasedGLM(opt);
@@ -71,4 +71,6 @@ function test_bidsRoiBasedGLM_run()
7171

7272
assertEqual(size(timecourseFiles, 1), 4);
7373

74+
delete('skipped_roi_*.tsv');
75+
7476
end

0 commit comments

Comments
 (0)