Hi Johanna,
This is most likely a sorting issue, where you have file indices that are not zero padded (so 10 comes before 2, for example). You could try having Dimon sort them, instead:
Dimon -infile_pattern "$anat/DICOM/*dcm" -dicom_org -gert_create_dataset \
-gert_to3d_prefix ${subj}_anat
If you do try that and have questions, just let me know.
EDIT: I did not originally notice the implied spacing in the options, and have adjusted the command.
- rick
Edited 1 time(s). Last edit at 07/18/2019 09:19AM by rick reynolds.