Skip to content

Commit 209d85e

Browse files
committed
small changes
1 parent 91fbfc5 commit 209d85e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

checkCppBidsDependencies.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
function checkCppBidsDependencies
22

33
pth = fileparts(mfilename('fullpath'));
4-
4+
55
checkSubmodule(fullfile(pth, 'lib', 'JSONio'));
66
checkSubmodule(fullfile(pth, 'lib', 'bids-matlab'));
7-
7+
88
addpath(fullfile(pth, 'lib', 'utils'));
99
addpath(fullfile(pth, 'subfun'));
10-
10+
1111
printCreditsCppBids();
1212

1313
end

userInputs.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
end
1717

1818
askGrpSess = [true true];
19-
if isfield(cfg, 'askGrpSess') && ~isempty(cfg.askGrpSess)
20-
askGrpSess = cfg.askGrpSess;
19+
if isfield(cfg, 'askGrpSess') && ~isempty(cfg.subject.askGrpSess)
20+
askGrpSess = cfg.subject.askGrpSess;
2121
end
2222
if numel(askGrpSess) < 2
2323
askGrpSess(2) = 1;
@@ -59,10 +59,10 @@
5959

6060
end
6161

62-
cfg.subjectGrp = subjectGrp;
63-
cfg.subjectNb = subjectNb;
64-
cfg.sessionNb = sessionNb;
65-
cfg.runNb = runNb;
62+
cfg.subject.subjectGrp = subjectGrp;
63+
cfg.subject.subjectNb = subjectNb;
64+
cfg.subject.sessionNb = sessionNb;
65+
cfg.subject.runNb = runNb;
6666

6767
end
6868

0 commit comments

Comments
 (0)