File tree Expand file tree Collapse file tree 6 files changed +24
-20
lines changed Expand file tree Collapse file tree 6 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 105105 ' echo' , ...
106106 ' phaseEncodingDirection' , ...
107107 ' reconstruction' , ...
108- ' recording' , ...
108+ ' recording' ...
109109 };
110110
111111 targetFields = { ...
114114 ' echo' , ...
115115 ' dir' , ...
116116 ' rec' , ...
117- ' recording' , ...
117+ ' recording' ...
118118 };
119119
120120 for iField = 1 : numel(fields2Check )
146146 pattern = cfg .fileName .pattern ;
147147
148148 runSuffix = cfg .fileName .suffix .run ;
149- acqSuffix = cfg .fileName .suffix .acquisition ;
150- ceSuffix = cfg .fileName .suffix .contrastEnhancement ;
151- dirSuffix = cfg .fileName .suffix .phaseEncodingDirection ;
152- recSuffix = cfg .fileName .suffix .reconstruction ;
149+ acqSuffix = cfg .fileName .suffix .acquisition ;
150+ ceSuffix = cfg .fileName .suffix .contrastEnhancement ;
151+ dirSuffix = cfg .fileName .suffix .phaseEncodingDirection ;
152+ recSuffix = cfg .fileName .suffix .reconstruction ;
153153 echoSuffix = cfg .fileName .suffix .echo ;
154154 recordingSuffix = cfg .fileName .suffix .recording ;
155155
Original file line number Diff line number Diff line change 11function printCreditsCppBids(cfg )
2+
3+ version = fileread(fullfile(fileparts(mfilename(' fullpath' )),...
4+ ' ..' , ' ..' , ' version.txt' ));
25
36 verbose = true ;
47 if ~isempty(cfg ) && isfield(cfg , ' verbose' ) && ~isempty(cfg .verbose )
@@ -7,8 +10,6 @@ function printCreditsCppBids(cfg)
710
811 if verbose
912
10- version = ' 0.0.1' ;
11-
1213 contributors = { ...
1314 ' Rémi Gau' , ...
1415 ' Marco Barilari' , ...
Original file line number Diff line number Diff line change 99function test_isPositiveIntegerBasic()
1010
1111 questions.questionsToAsk = { ...
12- [], 1 ; ...
13- [], 0 ; ...
14- [], 1 ; ...
15- [], 0 ; ...
12+ [], 1 ; ...
13+ [], 0 ; ...
14+ [], 1 ; ...
15+ [], 0 ; ...
1616 };
1717
1818 responses = { ...
@@ -24,6 +24,6 @@ function test_isPositiveIntegerBasic()
2424
2525 isQuestionToAsk = getIsQuestionToAsk(questions , responses );
2626
27- assertEqual(isQuestionToAsk , [false ;false ;true ;false ]);
27+ assertEqual(isQuestionToAsk , [false ; false ; true ; false ]);
2828
2929end
Original file line number Diff line number Diff line change @@ -23,13 +23,13 @@ function test_removeDateSuffixBasic()
2323 stimNameZipped = ' test2_stim_date-202008050730.tsv.gz' ;
2424
2525 filesToProcess = { ...
26- boldName ;
27- boldName2 ;
28- boldName3 ;
29- jsonName ;
30- eventsName ;
31- stimName ;
32- stimNameZipped ;
26+ boldName ;
27+ boldName2 ;
28+ boldName3 ;
29+ jsonName ;
30+ eventsName ;
31+ stimName ;
32+ stimNameZipped ;
3333 };
3434
3535 % create new files for new tests
Original file line number Diff line number Diff line change 77end
88
99function test_utilsBasic()
10+
11+ cfg.verbose = true ;
1012
1113 printCreditsCppBids();
1214
Original file line number Diff line number Diff line change 1+ v1.0.0
You can’t perform that action at this time.
0 commit comments