I am trying to convert my raw data using the dimon conversion package, which I have never had issues with in the past.
Both
Dimon -infile_pattern ‘005*/*.dcm’ -gert_create_dataset -gert_write_as_nifti
(from outside the anatomical folder)
and
Dimon -infile_prefix 000 -dicom_org -gert_create_dataset
(inside the anatomical folder)
produce this error:
++ writing dimon file list to dimon.files.run.005
sh: ./GERT_Reco_dicom_005: Permission denied
They both output:
dimon.files.run.005
GERT_Reco_dicom_005
but fail to output the brik and head files (and nifti files in the first example).
Hmmm, aside from your AFNI package being more than 2
years old (are you able to update it some time?), the
big thing I see is that the GERT_Reco_dicom_005 script
has no permissions at all, not even read permissions.
Try first changing the permissions, then running it:
Just switched to a new high performance cluster and forgot to update binaries in my profile…now I have:
/opt/afni/2017_10_2/afni
Thank you very much! this worked. now the output is:
set OutlierCheck =
set OutPrefix = OutBrick
to3d -prefix OutBrick_run_005 -@
++ to3d: AFNI version=AFNI_17.2.16 (Jul 8 2015) [64-bit]
++ Authored by: RW Cox
++ It is best to use to3d via the Dimon program.
++ Counting images: total=192 2D slices
*+ WARNING: If images are wrong, try using ‘-assume_dicom_mosaic’?
++ Data detected to be oblique
++ Each 2D slice is 256 X 256 pixels
++ Voxel dimensions: 0.9375 X 0.9375 X 0.9000 mm
++ Image data type = short
++ Reading images: …
++ 3D dataset written to disk
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.