Skip to content

Commit

Permalink
fix for matlab
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 13, 2024
1 parent 21ec30d commit 330239d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/roi/thresholdToMask.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

% add peakThreshold and clusterSizeInfo to desc
if ~isfield(bf.entities, 'desc')
bf.entities.desc = '';
bf.entities(1).desc = '';
end
descSuffix = sprintf('p%05.2f', peakThreshold);
if clusterSize > 0
Expand All @@ -58,7 +58,7 @@
bf.entities.desc = [bf.entities.desc descSuffix];

if isempty(bf.extension)
bf.extension = ".nii";
bf.extension = '.nii';
end

bf = bf.update();
Expand Down

0 comments on commit 330239d

Please sign in to comment.