Skip to content

Commit

Permalink
Merge pull request #668 from HJZollner/develop
Browse files Browse the repository at this point in the history
[BUG FIX] - Unknown field img in HTMLReport - OspreyHTMLReport
  • Loading branch information
HJZollner authored Oct 26, 2023
2 parents ffe53f0 + a518550 commit 650c540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plot/OspreyHTMLReport.m
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@
close(out);
close(temp);

if isfield(MRSCont.seg.img, 'vol_Tha_CoM') % HBCD thalamus overlap
if isfield(MRSCont.seg,'img') && isfield(MRSCont.seg.img, 'vol_Tha_CoM') % HBCD thalamus overlap
out = figure('Visible','off');
imagesc(MRSCont.seg.img.vol_Tha_CoM{kk});
axis equal;
Expand Down

0 comments on commit 650c540

Please sign in to comment.