BIC-MNI / minc-tools

Basic minc-tools from former minc repository
Other
30 stars 25 forks source link

dcm2mnc HEAD "forgets" about naming scheme #52

Open gdevenyi opened 8 years ago

gdevenyi commented 8 years ago

Trying the following on a directory of DICOMS:

dcm2mnc -anon -usecoordinates -dname ''  -fname 512IMG_%A 512IMG_20131129_105350928 minc/

Things start off okay:

> ls minc/
512IMG_1.mnc  512IMG_2.mnc

But then:

> ls minc/
512IMG_1.mnc  512IMG_2.mnc  512IMG_3.mnc  512img_20131129_101659_2e2a_mri.mnc  512img_20131129_101659_2e3a_mri.mnc  512img_20131129_101659_2e4a_mri.mnc  512img_20131129_101659_3e2a_mri.mnc  512img_20131129_101659_3e3a_mri.mnc

Not quite sure what's happening there, but my naming scheme has been overridden.

gdevenyi commented 4 years ago

I think the issue here was probably that %A wasn't enough to make each scan unique because some series produce more than one output file. Probably needs a warning.