We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d84a56 commit d8a81ffCopy full SHA for d8a81ff
spm_BIDS_App.m
@@ -255,9 +255,9 @@
255
256
%-Simplify BIDS structure to only contain participants under study
257
%--------------------------------------------------------------------------
258
-[idx,jdx] = ismember({BIDS.subjects.name},BIDS_App.participants);
259
-jdx = jdx(idx); idx = find(idx);
260
-BIDS.subjects = BIDS.subjects(idx(jdx));
+idx = ismember({BIDS.subjects.name},BIDS_App.participants);
+BIDS.subjects = BIDS.subjects(idx);
+% BIDS.participants variables should also be edited
261
262
%==========================================================================
263
%-Analysis level: participant*
0 commit comments