Dwipreproc problem with Eddy

Hi all,

I’m running dwipreproc on a denoised multishell data (30 directions with b=1000 & 2000), with 4 b0 images (2 with same PE as dwi image, 2 with opposite PE; concatenated into b0s.mif) using the command below:

dwipreproc dwi_denoised.mif dwi_preprocessed.mif -pe_dir AP -rpe_pair -se_epi b0s.mif

It gives the following error:

dwipreproc: [ERROR] Command failed: eddy --imain=dwi.nii --mask=mask.nii --acqp=eddy_config.txt --index=eddy_indices.txt --bvecs=bvecs --bvals=bvals --topup=field --out=dwi_post_eddy (dwipreproc:467)
dwipreproc: Output of failed command:
terminate called after throwing an instance of ‘EDDY::EddyException’
what():

I’ll be glad for any help.

Bests,
Amir