Skip to content

Commit

Permalink
Merge pull request #690 from HJZollner/develop
Browse files Browse the repository at this point in the history
BUG FIX - ISHTMUS partial Siemens and GE data
  • Loading branch information
HJZollner authored Feb 19, 2024
2 parents 6dcf566 + 5618724 commit 8fc146e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/FID-A/inputOutput/io_loadspec_niimrs.m
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@
end
end
subspecs = 0;
if rawSubspecs > 0
subspecs = rawSubspecs;
end
end

if length(sqzDims)==5
Expand Down
3 changes: 3 additions & 0 deletions overview/OspreyOverview.m
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,9 @@
names = fields(MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]));
for g = 1 : length(names) % loop over groups
tempSubSpec = zeros(length(MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss})),MRSCont.info.(dataPlotNames{ss}).max_ndatapoint,MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss}){1, 1}.subspecs);
if isempty(tempSubSpec)
tempSubSpec = zeros(length(MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss})),MRSCont.info.(dataPlotNames{ss}).max_ndatapoint,MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss}){1, 1}.rawSubspecs);
end
for kk = 1 : length(MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss})) % Loop over datasets to generate a matrix
try
tempSubSpec(kk,:,:) = MRSCont.overview.Osprey.(['sort_data_voxel_' num2str(rr)]).(names{g}).(dataPlotNames{ss}){1,kk}.specs;
Expand Down

0 comments on commit 8fc146e

Please sign in to comment.