Skip to content

Commit f4ec30a

Browse files
committed
mh autofix
1 parent 2dd0626 commit f4ec30a

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

manualTests/test_makeRawDataset.m

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function test_makeRawDataset()
1212
cfg.bids.datasetDescription.Name = 'dummy';
1313
cfg.bids.datasetDescription.BIDSVersion = '1.0.0';
1414
cfg.bids.datasetDescription.Authors = {'Jane Doe', 'John Doe'};
15-
15+
1616
cfg.testingDevice = 'mri';
1717

1818
%% MRI task data
@@ -30,9 +30,9 @@ function test_makeRawDataset()
3030
cfg = createFilename(cfg);
3131

3232
createBoldJson(cfg);
33-
33+
3434
createDatasetDescription(cfg);
35-
35+
3636
% create the events file and header
3737
logFile = saveEventsFile('open', cfg, logFile);
3838

@@ -71,29 +71,29 @@ function test_makeRawDataset()
7171
% add dummy functional data
7272
funcDir = fullfile(cfg.dir.output, 'source', 'sub-001', 'ses-001', 'func');
7373
boldFilename = 'sub-001_ses-001_task-testtask_run-001_bold.nii.gz';
74-
74+
7575
copyfile( ...
7676
fullfile('..', 'dummyData', 'dummyData.nii.gz'), ...
7777
fullfile(funcDir, boldFilename));
78-
78+
7979
%% MRI bold rest data and fancy suffixes
80-
clear cfg
81-
80+
clear cfg;
81+
8282
cfg.dir.output = outputDir;
83-
83+
8484
cfg.testingDevice = 'mri';
8585

8686
cfg.subject.subjectNb = 2;
8787
cfg.subject.sessionNb = 3;
8888
cfg.subject.runNb = 4;
89-
89+
9090
cfg.mri.reconstruction = 'fast recon';
9191
cfg.mri.contrastEnhancement = 'test';
9292
cfg.mri.phaseEncodingDirection = 'y pos';
9393
cfg.mri.echo = '1';
9494
cfg.mri.acquisition = ' new tYpe';
9595
cfg.mri.repetitionTime = 1.56;
96-
96+
9797
cfg.task.name = 'rest';
9898

9999
cfg = createFilename(cfg);
@@ -105,13 +105,13 @@ function test_makeRawDataset()
105105
boldFilename = ['sub-002_ses-003_task-rest', ...
106106
'_acq-newTYpe_ce-test_dir-yPos_rec-fastRecon', ...
107107
'_run-004_echo-1_bold.nii.gz'];
108-
108+
109109
copyfile( ...
110110
fullfile('..', 'dummyData', 'dummyData.nii.gz'), ...
111111
fullfile(funcDir, boldFilename));
112-
113-
%%
114-
clear
112+
113+
%%
114+
clear;
115115
outputDir = fullfile(fileparts(mfilename('fullpath')), 'output');
116116
cfg.dir.output = outputDir;
117117
convertSourceToRaw(cfg);

0 commit comments

Comments
 (0)