Skip to content

Commit

Permalink
Merge pull request #692 from HJZollner/develop
Browse files Browse the repository at this point in the history
[BUG FIX] - Incorrect name for VoxelOverlap in spm152-space
  • Loading branch information
HJZollner authored Feb 19, 2024
2 parents 8fc146e + e04f013 commit 3a8ca25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions seg/OspreySeg.m
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@
if isfield(MRSCont, 'exclude')
Files(MRSCont.exclude)=[];
end
CalculateMaskOverlap(Files',[osp_RemovePreFix(MaskName) '_VoxelOverlap'],MaskDir);
CalculateMaskOverlap(Files',[osp_RemovePreFix(MaskNameSPM152) '_VoxelOverlap'],MaskDir);

for kk = 1:MRSCont.nDatasets(1)
vol_mask = MRSCont.coreg.vol_mask{kk};
Expand All @@ -600,9 +600,9 @@
gzip(fullfile(MaskDir,[MaskNameSPM152, MaskExt]));
delete(fullfile(MaskDir,[MaskNameSPM152, MaskExt]));
end
gzip(fullfile(MaskDir,[osp_RemovePreFix(MaskName) '_VoxelOverlap.nii']));
delete(fullfile(MaskDir,[osp_RemovePreFix(MaskName) '_VoxelOverlap.nii']));
MRSCont.seg.overlapfile = fullfile(MaskDir,[osp_RemovePreFix(MaskName) '_VoxelOverlap.nii']);
gzip(fullfile(MaskDir,[osp_RemovePreFix(MaskNameSPM152) '_VoxelOverlap.nii']));
delete(fullfile(MaskDir,[osp_RemovePreFix(MaskNameSPM152) '_VoxelOverlap.nii']));
MRSCont.seg.overlapfile = fullfile(MaskDir,[osp_RemovePreFix(MaskNameSPM152) '_VoxelOverlap.nii']);
end
time = toc(refSegTime);
[~] = printLog('done',time,1,MRSCont.nDatasets,progressText,MRSCont.flags.isGUI ,MRSCont.flags.isMRSI);
Expand Down

0 comments on commit 3a8ca25

Please sign in to comment.