Dimon error, to3d

linux_ubuntu_16_64: Sep 29 2025 (Version AFNI_25.2.18 'Gordian I')

Dimon -infile_prefix $epi_path/epi3_odor/MR. -num_chan 4 -gert_to3d_prefix epi_run3_odor -gert_chan_prefix _echo_ -ushort2float -gert_create_dataset -use_obl_origin -assume_dicom_mosaic -dicom_org -use_obl_origin -gert_outdir $src/$f -quit

I get an error only in one single subject (out of 40 subjects), echo-1 is not created (multi echo EPI, EchoNumber: 4)

to3d -assume_dicom_mosaic -prefix epi_run3_odor_echo_001 -time:zt 63 437 1.5sec FROM_IMAGE -ushort2float -oblique_origin -@
++ to3d: AFNI version=AFNI_25.2.18 (Sep 29 2025) [64-bit]
++ Authored by: RW Cox
++ It is best to use to3d via the Dimon program.
++ Counting images: total=27594 2D slices
** Number of slices on command line = 27594
** Number of slices needed for -time: = 27531
** Something is wrong with your command line!
end

Hello,

Interesting. Would you be able to email some log files to me? I can send an address and some details (like adding -save_details DD and possibly -debug DDD).

Just to be sure, are there supposed to be 437 time points or 438? The error suggests that 438 time points of files are on the command line.

Thanks,

-rick

Yes, please.
437

Just to be sure you see it, I replied with a private message.

-rick

Thanks for the details.

Indeed, it looks like you have a single extra slice in there for some reason, at the end, starting over at echo 1. Dimon expects all of the data to be valid, so I would suggest renaming or moving it (never delete, just to be safe). Your command specifies starting with "MR", so it would be enough to avoid that.

-rick