Hi Rick,
Good points but no cigar, the below has a script to reproduce the problem. It assumes you have AFNI_demo/CD under your home directory (where else would it be?).
My afni version is: Precompiled binary macos_10.12_local: Oct 1 2022 (Version AFNI_22.2.12 'Marcus Aurelius')
Thanks!
Ziad
#!/bin/sh
crazypath=${PWD}/tmp/Volumes/ns2/MyFavoriteThings88/healer/transfer/BC_transfers/Minds_expanded/77566465JIM8008_CAT_DOG_TT_00001224.zip.exp/77566465JIM8008_CAT_DOG_TT_00001224/S38-SU98272B/SU98272003/Week_52_Mea_DOG/CAT/00001224/Catenation_Adjusted_Regression/00001224/
mkdir -p ${crazypath}
cp ~/AFNI_demo/CD/AFNI_data6/DICOM_T1/I1000000 ${crazypath}
echo ">>> This works :)"
cd ${crazypath}
dicom_hinfo -sepstr , -tag 0008,0022 0008,0031 0008,0032 0018,1242 I1000000
echo ">>> This doesn't :("
dicom_hinfo -sepstr , -tag 0008,0022 0008,0031 0008,0032 0018,1242 ${crazypath}/I1000000