Skip to content

Commit

Permalink
XA30 behavior (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Oct 12, 2021
1 parent 48f369d commit d32ef79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console/nii_dicom.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extern "C" {
#define kCPUsuf " " //unknown CPU
#endif

#define kDCMdate "v1.0.20211006"
#define kDCMdate "v1.0.20211010"
#define kDCMvers kDCMdate " " kJP2suf kLSsuf kCCsuf kCPUsuf

static const int kMaxEPI3D = 1024; //maximum number of EPI images in Siemens Mosaic
Expand Down
2 changes: 1 addition & 1 deletion console/nii_dicom_batch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6279,7 +6279,7 @@ int saveDcm2NiiCore(int nConvert, struct TDCMsort dcmSort[], struct TDICOMdata d
nii_check16bitUnsigned(imgM, &hdr0, opts.isVerbose); //save UINT16 as INT16 if we can do this losslessly
if ((dcmList[dcmSort[0].indx].isXA10A) && (nConvert < 2))
printWarning("Siemens XA DICOM inadequate for robust conversion (issue 236)\n");
if ((dcmList[dcmSort[0].indx].isXA10A) && (nConvert > 1))
if ((dcmList[dcmSort[0].indx].isXA10A) && (nConvert > 1) && (nConvert == (hdr0.dim[3] * hdr0.dim[4])) )
printWarning("Siemens XA exported as classic not enhanced DICOM (issue 236)\n");
printMessage("Convert %d DICOM as %s (%dx%dx%dx%d)\n", nConvert, pathoutname, hdr0.dim[1], hdr0.dim[2], hdr0.dim[3], hdr0.dim[4]);
#ifndef USING_R
Expand Down

0 comments on commit d32ef79

Please sign in to comment.