From 2554af6eb2f9ef653e28ccae4d4fe94a51e15007 Mon Sep 17 00:00:00 2001 From: neurolabusc Date: Thu, 29 Jul 2021 14:59:57 -0400 Subject: [PATCH] Remove redundancy --- console/nii_dicom.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/console/nii_dicom.cpp b/console/nii_dicom.cpp index 97a990ec..72cf0a9c 100644 --- a/console/nii_dicom.cpp +++ b/console/nii_dicom.cpp @@ -7036,12 +7036,6 @@ struct TDICOMdata readDICOMx(char *fname, struct TDCMprefs *prefs, struct TDTI4D printWarning("Philips instance number (%d) does not make sense: slice %d of %d, volume %d\n", d.imageNum, sliceNumberMrPhilips, locationsInAcquisitionPhilips, volumeNumberMrPhilips); d.imageNum = instanceNum; } - if ((numDimensionIndexValues == 0) && (sliceNumberMrPhilips > 0) && (volumeNumberMrPhilips > 0) && (locationsInAcquisitionPhilips > 0)) {//issue529 - int instanceNum = ((volumeNumberMrPhilips-1) * locationsInAcquisitionPhilips) + sliceNumberMrPhilips; - if ((d.imageNum != instanceNum) && (isVerbose)) - printWarning("Philips instance number (%d) does not make sense: slice %d of %d, volume %d\n", d.imageNum, sliceNumberMrPhilips, locationsInAcquisitionPhilips, volumeNumberMrPhilips); - d.imageNum = instanceNum; - } if ((numberOfFrames > 1) && (numDimensionIndexValues == 0) && (numberOfFrames == nSliceMM)) { //issue 372 fidx *objects = (fidx *)malloc(sizeof(struct fidx) * numberOfFrames); for (int i = 0; i < numberOfFrames; i++) {