Skip to content

Commit 426877a

Browse files
committed
- add level:subject in json: multivariate model
- fix subNumber in copyRawFolder - pmCon: fix model.Steps(iStep) to model.Steps{iStep}
1 parent fa6fd25 commit 426877a

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

model-motionDecodingMultivariate_smdl.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
"task": "motionDecoding"
66
},
77
"Steps": [
8+
{
9+
"Level": "subject",
10+
"AutoContrasts": [],
11+
"Contrasts": []
12+
},
813
{
914
"Level": "run",
1015
"AutoContrasts": ["trial_type.Vis_U", "trial_type.Vis_D", "trial_type.Vis_R", "trial_type.Vis_L","trial_type.Aud_U", "trial_type.Aud_D", "trial_type.Aud_R", "trial_type.Aud_L"]

subfun/BIDS_copyRawFolder.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function BIDS_copyRawFolder(opt, deleteZippedNii)
6262
subNumber = group(iGroup).subNumber{iSub} ; % Get the subject ID
6363

6464
% the folder containing the subjects data
65-
subFolder = ['sub-', groupName, subNumber ];
65+
subFolder = ['sub-', subNumber ];
6666

6767
% copy the whole subject's folder
6868
copyfile(fullfile(rawDir, subFolder),...

subfun/pmCon.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
% check all the steps specified in the model
3535
for iStep = 1:length(model.Steps)
3636

37-
Step = model.Steps(iStep);
37+
Step = model.Steps{iStep};
3838

3939
switch Step.Level
4040

0 commit comments

Comments
 (0)