Hi, Recently I update the MRtrix3 (from version 3.0.2 to 3.0.3). However, the dwi tractography pipeline met errors during the dwifslpreproc procedure. Below is my error info:
dwifslpreproc: [ERROR] dwi2mask dwi_pad2_pe_0_applytopup.mif - | maskfilter - dilate - | mrconvert - eddy_mask.nii -datatype float32 -strides -1,+2,+3
dwi2mask : preloading data for dwi_pad2_pe_0_applytopup.mif
dwi2mask : [Error] no valid diffusion gradient table found
dwi2mask: [Error] error importing diffusion gradient table for image dwi_pad2_pe_0_applytopup.mif
maskfilter: [Error] no filename supplied to standard input (broken pipe?)
maskfilter: [Error] error open image -
… and so on
Here is my shell command:
paste -d " " ${Output_Folder}/AP/AP.bvec ${Output_Folder}/PA/PA.bvec >> ${Output_Folder}/Tracking/AP_PA.bvec
paste -d " " ${Output_Folder}/AP/AP.bval ${Output_Folder}/PA/PA.bval >> ${Output_Folder}/Tracking/AP_PA.bval
dwifslpreproc ${Output_Folder}/Tracking/degibbs.mif ${Output_Folder}/Tracking/DWI_preproc.mif -pe_dir AP -rpe_pair -se_epi ${Output_Folder}/Tracking/b0_pair.mif -nthreads 4 -fslgrad ${Output_Folder}/Tracking/AP_PA.bvec ${Output_Folder}/Tracking/AP_PA.bval -eddy_options " --data_is_shelled --slm=linear --niter=5 " -force
When I run the command in the MRtrix3 version 3.0.2 everything is okay, however, when I update the MRtrix3 into version 3.0.3, the dwifslpreproc met errors.
I just want to use the option -tratography.colourmap in the mrview, while it only provides in the version 3.0.3 rather than 3.0.2. Thus I update my MRtrix3.
Then check the file dwi_pad2_pe_0_applytopup.mif when I use the mrinfo -dwgrad it met errors:
mrinfo [ERROR] no valid diffusion gradient table found.
mrinfo [ERROR] error importing diffusion gradient table for image dwi_pad2_pe_0_applytopup.mif
Then I check the file dimension for my degibbs.mif (256 × 256 × 65 × 73), it has odd number in the third dims. And the dimension of dwi_pad2_pe_0_applytopup.mif is 256 × 256 × 66 × 73.
I guess the odd dims will meet error, however, I have no idea to deal with it. Hope you can give me some technique help, many thanks. The dwi scannner is GE Discovery 750.
Thank you very much!