Summary of what happened:
Hi all,
My center recently upgraded our Siemens Prisma from E11 to XA60, and since then I am having a new problem with dcm2niix that I haven’t encountered before.
dcm2niix is now failing to correctly interpret the slice timing and TR metadata from the raw DICOM images from the scanner. Our images are reaped from the scanner directly to Flywheel and converted to nifti/json via the Flywheel dcm2niix gear.
I am trying to process some of the data we have acquired since the upgrade, and got a crash warning from fmriprep that the TR could not be interpreted. Upon checking further, the unprocessed niftis show a TR of 1s. I know for certain that our BOLD acquisitions use a 2s TR. I decided to download a folder of raw short data to check the header info and then convert it myself, and this is where I found the discrepancy. The DICOM header confirms that the acquisition had a TR of 2000ms, but after converting, the NIFTI claims a TR of 1.
This error does not occur on the images collected prior to the XA upgrade even though the acquisitions are identical. We are using a modified CMRR BOLD acquisition with TR/TE=2000ms/30ms,
Two of the three sequences are gated by PyschoPy to induce a 400ms delay between acquisitions, but our resting state image does not have this delay but is still throwing the TR/slice timing error.
Any suggestions on how to fix this? Because Flywheel is responsible for the image pull, I cannot confirm whether the dicoms were exported in classic or enhanced format and I have not had the chance to try and manually export them to a flash drive to inspect.
Command used (and if a helper script was used, a link to the helper script or the command generated):
dcm2niix -z y 1.3.12.2.1107.5.2.43.66044.2026030314463753976660598.0.0.0.dicom
Version:
Chris Rorden’s dcm2niiX version v1.0.20250505
Environment (Docker, Singularity / Apptainer, custom installation):
LPC Computing Cluster (RHEL9)
Relevant log outputs (up to 20 lines):
Warning: 4D Siemens XA images should be exported as enhanced not classic DICOM. Slice times and other properties may be inaccurate.
Warning: Slice timing appears corrupted (range 2400..4317.5, TR=0 ms)
Screenshots / relevant information:
I used AFNI’s dicom_hdr function on the raw DICOM image to verify that the acquisition metadata reflects the 2s TR.
And then checked the TR of the converted nifti image using 3dinfo and found that it had defaulted to 1.
The TR field is also completely missing from the JSON file output by dcm2niix.
Any assistance or suggestions are greatly appreciated, and I am happy to provide any further information to help diagnose and solve this issue.
Thanks!
JD





