Skip to content

Commit c4ec3e3

Browse files
committed
Merge remote-tracking branch 'moh/constrast_spec_update' into remi_constrast-specification
2 parents fa6fd25 + ca92742 commit c4ec3e3

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
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_RFX.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ function BIDS_RFX(action, mmFunctionalSmoothing, mmConSmoothing, opt, isMVPA)
211211
end
212212

213213
for iStep = 1:length(model.Steps)
214-
if strcmp(model.Steps(iStep).Level, 'dataset')
215-
grpLvlCon = model.Steps(iStep).AutoContrasts;
214+
if strcmp(model.Steps{iStep}.Level, 'dataset')
215+
grpLvlCon = model.Steps{iStep}.AutoContrasts;
216216
break
217217
end
218218
end

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)