From 5f3cdf6d0f9837d35db214f7f2bfcbff466338e6 Mon Sep 17 00:00:00 2001 From: Helge <47348963+HJZollner@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:28:29 -0500 Subject: [PATCH] [BUG FIX] - Inconsistent mapping of .seq parameter in nii_hdr_ext - osp_generate_nii_hdr_ext - Alex Craven - fixed mapping between .seq Osprey struct and nifti header generation. --- settings/version.json | 2 +- utilities/osp_generate_nii_hdr_ext.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/settings/version.json b/settings/version.json index 8832ec9c..cfdca35f 100644 --- a/settings/version.json +++ b/settings/version.json @@ -1,3 +1,3 @@ -{"Version": "2.8.4", +{"Version": "2.8.5", "Date": "November 7, 2024", "Description": "First digit for major releases, second digit for regular compiled releases, third digit for each commit to the develop branch. "} diff --git a/utilities/osp_generate_nii_hdr_ext.m b/utilities/osp_generate_nii_hdr_ext.m index 257e9d02..d2ec17fd 100644 --- a/utilities/osp_generate_nii_hdr_ext.m +++ b/utilities/osp_generate_nii_hdr_ext.m @@ -45,7 +45,7 @@ nii_hdr_ext.TxOffset = double(0); nii_hdr_ext.Manufacturer = in.Manufacturer; nii_hdr_ext.SoftwareVersions = in.software; - nii_hdr_ext.ProtocolName = in.seq; + nii_hdr_ext.SequenceName = in.seq; nii_hdr_ext.PatientPosition = in.PatientPosition; nii_hdr_ext.ConversionMethod = OspreyVersion; nii_hdr_ext.ConversionTime = datestr(now,30);