Dear all,
I have a list of single .nii files that need to be combined into one full-length run. Therefore, I am using the command
3dTcat \
-tr 2.16 \
-prefix Run 20160321_204111ep2dboldrestingstates003a001_*.nii
It works fine for all subjects. However, I have one subject with one particular .nii file (number 54 in the list) that causes problems. Here is the output from 3dTcat:
-prefix Run 20160321_204111ep2dboldrestingstates003a001_054.nii
++ 3dTcat: AFNI version=AFNI_22.1.01 (Apr 4 2022) [64-bit]
** nifti_header_version: bad sizeof_hdr = 357564416
** nifti_image_read: bad nifti im header version -1
** nifti_header_version: bad sizeof_hdr = 357564416
** nifti_image_read: bad nifti im header version -1
** FATAL ERROR: Can't open dataset 20160321_204111ep2dboldrestingstates003a001_054.nii
3dinfo does not work on this .nii file number 54. Also, number 54 does not appear when opening the AFNI GUI. The file is only 328kb, I could also send it via email.
Is there a way to save the file?
Thanks,
Philipp