Skip to content

Commit

Permalink
Merge pull request #741 from HJZollner/develop
Browse files Browse the repository at this point in the history
[BUG FIX] - twix_object read only - io_loadspec_twix - Alex Gussew
  • Loading branch information
HJZollner authored May 22, 2024
2 parents ac13f3d + e67af24 commit 50943a9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions libraries/FID-A/inputOutput/io_loadspec_twix.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,11 @@

%Check if the twix file is from a VE version
if contains(twix_obj.hdr.Dicom.SoftwareVersions, 'E11')
twix_obj.image.softwareVersion = 've';
version=twix_obj.image.softwareVersion;
version='ve';
end
if contains(twix_obj.hdr.Dicom.SoftwareVersions, 'XA')
index = strfind(twix_obj.hdr.Dicom.SoftwareVersions,'XA');
twix_obj.image.softwareVersion = twix_obj.hdr.Dicom.SoftwareVersions(index:index+3);
version=twix_obj.image.softwareVersion;
version=twix_obj.hdr.Dicom.SoftwareVersions(index:index+3);
end

%find out what sequence, the data were acquired with. If this is a
Expand Down

0 comments on commit 50943a9

Please sign in to comment.