From 4c48bce8f93cd14aea4b78ffeb253bcd460c5158 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Wed, 14 Feb 2024 16:46:47 -0500 Subject: [PATCH] GE step description (https://github.com/rordenlab/dcm2niix/issues/790) --- console/nii_dicom.h | 2 +- console/nii_dicom_batch.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/console/nii_dicom.h b/console/nii_dicom.h index 16c46105..2fbb776e 100644 --- a/console/nii_dicom.h +++ b/console/nii_dicom.h @@ -50,7 +50,7 @@ extern "C" { #define kCPUsuf " " //unknown CPU #endif -#define kDCMdate "v1.0.20240123" +#define kDCMdate "v1.0.20240202" #define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf kCPUsuf static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic diff --git a/console/nii_dicom_batch.cpp b/console/nii_dicom_batch.cpp index 31f148bc..f7b80970 100644 --- a/console/nii_dicom_batch.cpp +++ b/console/nii_dicom_batch.cpp @@ -6421,8 +6421,9 @@ void reportProtocolBlockGE(struct TDICOMdata *d, const char *filename, int isVer char ioptGE[3000] = ""; char seqName[kDICOMStr] = ""; geProtocolBlock(filename, d->protocolBlockStartGE, d->protocolBlockLengthGE, isVerbose, &sliceOrderGE, &viewOrderGE, &mbAccel, &nSlices, &groupDelay, ioptGE, seqName); - if (strlen(d->procedureStepDescription) < 2) - strcpy(d->procedureStepDescription, seqName); + //if (strlen(d->procedureStepDescription) < 2) + // strcpy(d->procedureStepDescription, seqName); + strcat(d->procedureStepDescription, seqName); //issue790 #endif } //bidsGE