Hi Everyone,
I am trying the dwipreproc script using rpe_header
option as such
foreach TDI-study/* : dwipreproc IN/denoised.mif IN/preproc.mif -rpe_header
This has completed only for odd numbered subjects and failed for even numbered subjects ie. 2, 4, 6,8…
The error is as
dwipreproc: [ERROR] Command failed: mrconvert dwi_post_eddy.nii.gz result.mif -stride -2,-3,4,1 -fslgrad
dwi_post_eddy.eddy_rotated_bvecs bvals (dwipreproc:561)
dwipreproc: Output of failed command:
mrconvert: uncompressing image "dwi_post_eddy.nii.gz"... [===============]
mrconvert: [ERROR] error reading from file "dwi_post_eddy.nii.gz": dwi_post_eddy.nii.gz: invalid stored block
lengths
So I looked into the the temp
directory and found the dwi_post_eddy.nii.gz
file.
This file cannot be read by mrview
but it can be read by fslview
Can some one throw light onto what may be causing this error.
Kind regards.