Skip to content

Commit d8b0158

Browse files
Fix matlabbatch index for T2x_surf cluster setting
Correct an incorrect matlabbatch index: changed matlabbatch{1}.spm.tools.cat.tools.T2x_surf.conversion.cluster.none to matlabbatch{5} to match the surrounding T2x_surf configuration. This ensures the cluster.none flag is set on the intended batch entry and prevents misconfiguration of the batch structure.
1 parent d6f6e99 commit d8b0158

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

check_pipeline/batch_surface_pipeline.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
matlabbatch{5}.spm.tools.cat.tools.T2x_surf.conversion.sel = 2;
3939
matlabbatch{5}.spm.tools.cat.tools.T2x_surf.conversion.threshdesc.uncorr.thresh001 = 0.001;
4040
matlabbatch{5}.spm.tools.cat.tools.T2x_surf.conversion.inverse = 0;
41-
matlabbatch{1}.spm.tools.cat.tools.T2x_surf.conversion.cluster.none = 1;
41+
matlabbatch{5}.spm.tools.cat.tools.T2x_surf.conversion.cluster.none = 1;
4242
%__________________________________________________________________________
4343
matlabbatch{6}.spm.tools.cat.tools.F2x_surf.data_F2x = {fullfile(pth,'analysis/surface/spmF_0001.gii')};
4444
matlabbatch{6}.spm.tools.cat.tools.F2x_surf.conversion.sel = 2;

0 commit comments

Comments
 (0)