AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
April 15, 2015 08:13PM
Hello,

I am attempting to convert dicoms into nifti files. The data I have are from a data consortium with multiple scan sites and thus it's not easy for me to trouble shoot how the dicoms are ordered/named.

subID=Pxxxx

Dimon -infile_pattern "${subID}*dcm" -gert_create_dataset -dicom_org -sort_by_acq_time -gert_write_as_nifti -gert_to3d_prefix ${subID}_rest -use_last_elem -save_details ${subID}_dimon_order

Dimon version 4.11 (March 13, 2015) running, use <ctrl-c> to quit...

-- scanning for first volume
-- reading 7799 image files ... 00%*+ WARNING: Bad DICOM header - assuming oblique scaling direction!
100%
-- writing file list to Pxxxx_dimon_order...
first_read : -- writing file list to Pxxxx_dimon_order...
first_sort : -- writing details to Pxxxx_dimon_order.1.first_sort.txt...
.
*************************************************
Error: missing slice(s) in first volume!
attempting to re-start at file: Pxxxx.MR.1101.2.20110101.160213.1fycumd.dcm
*************************************************

** no_wait: no volume found in 7799 files
-- writing file list to Pxxxx_dimon_order...
no_vol : -- writing details to Pxxxx_dimon_order.2.no_vol.txt...


Is there an ordering convention that I am not aware of? I thought sorting by acq time would solve the problem.

Alternatively, I am checking with the data admin to see if the dicom is actually missing...
is there anyway to handle this situation if the file is missing?


Andrew
Subject Author Posted

DIMON: Handling missing files

Andrew_Lynn April 15, 2015 08:13PM

Re: DIMON: Handling missing files

rick reynolds April 16, 2015 07:59AM

Re: DIMON: Handling missing files

Andrew_Lynn April 16, 2015 11:53AM

Re: DIMON: Handling missing files

Andrew_Lynn April 16, 2015 11:54AM

Re: DIMON: Handling missing files

jamielarshanson December 20, 2017 07:43PM

Re: DIMON: Handling missing files

rick reynolds December 21, 2017 09:07AM

Re: DIMON: Handling missing files

jamielarshanson December 21, 2017 11:03AM

Re: DIMON: Handling missing files

rick reynolds January 05, 2018 10:11AM

Re: DIMON: Handling missing files

jamielarshanson January 11, 2018 04:00PM