File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,10 @@ future BEP format in a dedicated eyetracker folder
125125` <matches>[_recording-<label>]_stim.tsv.gz `
126126` <matches>[_recording-<label>]_stim.json `
127127
128+ ### change log
129+
130+ <!-- 93b4c584bf22883a3c4f8b9031b70e381deef272 -->
131+
128132### 3.3. <a name =' Contributors ' ></a >Contributors ✨
129133
130134Thanks goes to these wonderful people ([ emoji key] ( https://allcontributors.org/docs/en/emoji-key ) ):
Original file line number Diff line number Diff line change 1414
1515 fieldsToSet.verbose = false ;
1616
17+ fieldsToSet.useGUI = false ;
18+
1719 fieldsToSet.fileName.task = ' ' ;
1820 fieldsToSet.fileName.zeroPadding = 3 ;
1921 fieldsToSet.fileName.dateFormat = ' yyyymmddHHMM' ;
Original file line number Diff line number Diff line change 2121
2222 questions = createQuestionList(cfg );
2323
24- try
25- responses = askUserGui(questions , responses );
26- catch
24+ if cfg .useGUI
25+
26+ try
27+ responses = askUserGui(questions , responses );
28+ catch
29+ responses = askUserCli(questions , responses );
30+ end
31+
32+ else
33+
2734 responses = askUserCli(questions , responses );
35+
2836 end
2937
3038 end
Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ function test_checkCfgBasic()
8989 expectedCfgStructure.subject.askGrpSess = [true true ];
9090
9191 expectedCfgStructure.verbose = 0 ;
92+
93+ expectedCfgStructure.useGUI = false ;
9294
9395 expectedCfgStructure.fileName.task = ' ' ;
9496 expectedCfgStructure.fileName.zeroPadding = 3 ;
You can’t perform that action at this time.
0 commit comments