Mrconvert Error

Hi,

I am trying to use: mrconvert command .

mrconvert -fslgrad BIO-ALS-701-026-BL_dwi.bval BIO-ALS-701-026-BL_dwi.bvec BIO-ALS-701-026-BL_dwi.nii.gz BIO-ALS-701-026-BL_dwi.mif -force

I got the following error:

mrconvert: [WARNING] existing output files will be overwritten

mrconvert: [ERROR] bvals file must contain 1 row or column only (file "BIO-ALS-701-026-BL_dwi.bvec" has 3)

mrconvert: [ERROR] error importing diffusion gradient table for image "BIO-ALS-701-026-BL_dwi.nii.gz"

mrinfo:

************************************************
Image:               "BIO-ALS-701-026-BL_dwi.nii.gz"
************************************************
  Dimensions:        88 x 88 x 48 x 68
  Voxel size:        2.5 x 2.5 x 3 x 8
  Data strides:      [ -1 2 3 4 ]
  Format:            NIfTI-1.1 (GZip compressed)
  Data type:         signed 16 bit integer (little endian)
  Intensity scaling: offset = 0, multiplier = 1
  Transform:               0.9986      0.0509     0.01583      -110.4
                         -0.05102      0.9987    0.007099        -111
                         -0.01545   -0.007897      0.9998      -57.48
  comments:          TE=1.2e+02;Time=134050.970;phase=1
(base) PHS012785:dwi mn457$ 

I have 8 volumes of b=0 and 60 of b=1, bval is one row and bvec is 3 rows

Any help would be appreciated

You just need to switch the bvec & bval arguments arguments around – bvecs first, as per the documentation.