Skip to content

Commit

Permalink
Big fix for 1vx clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
bogpetre committed Jan 29, 2024
1 parent 6a59856 commit 91e860f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CanlabCore/Visualization_functions/get_cluster_volume.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
%----------------------------------------------------------------------------------
% Prepare MNI volume data xMNI, yMNI, zMNI, and volMNI
%----------------------------------------------------------------------------------
rMin = min(clOut.XYZmm');
rMax = max(clOut.XYZmm');
rMin = min(clOut.XYZmm',[],1);
rMax = max(clOut.XYZmm',[],1);
voxMNI = clOut.voxSize;

% make all voxMNI positive: Correct bug with negative x voxel size
Expand Down

0 comments on commit 91e860f

Please sign in to comment.