BIC-MNI / minc-toolkit-v2

Version 2 of the minc-toolkit, uses tools based on ITK version 4.x
GNU General Public License v3.0
49 stars 21 forks source link

dcm2mnc -stdin fails #167

Open moreje opened 7 months ago

moreje commented 7 months ago

Hello, how can I have dcm2mnc scaning subfolders to find dicom files? my data are in /SUBJECT/DICOM/SESS1/XXX/YYY

dcm2mnc -fname test /SUBJECT/DICOM/SESS1 can't find files tat are in YYY folder

I've tried: ls -R /SUBJECT/DICOM/SESS1 | dcm2mnc -stdin -fname test ./

but it fails with "skipping file xxxx.dcm xhich is not in the expected format"

what am I doing wrong? or is there another way? Thank you

moreje commented 7 months ago

ok, i'm answering myself... find do the job!