I’ve been using heudiconv to convert NODDI diffusion-weighted scans to nifti so as to ensure files are compatible with BIDS. I’ve just tested it on one subject so far and have tried validating it on BIDS: https://bids-standard.github.io/bids-validator/.
However, I keep receiving an error saying there was a mismatch between the number of volumes in the scan and the bvec value (Screenshot below).
Any suggestions of why this is happening would be much appreciated!
Thanks
Command used (and if a helper script was used, a link to the helper script or the command generated):
Given that the file size is 776kb, I would suggest that this file has a single volume, and is either a b=0 image or a derived image (TRACE, ADC, etc). It is clumsy that BIDS requires a bvec/bval file for these non-directional images. This is a duplicate of a previous issue and you can therefore use the inheritance principle to add a single bvec file ( a text file with three rows, each with 0) and a single bval file (a text file with a single character, 0) in the top level of your BIDS folder. The Stroke Outcome Optimization Project (SOOP) on OpenNeuro illustrates this solution.
Thank you both for your suggestions. The NODDI sequence includes the following: 65 vols for B2600 and 33 vols for B800.
I tried adding a bvec and bval file to the higher-level folder (as in the SOOP project) with no success.
I wonder if I need to select out various NODDI components in the heudiconv heuristic?
At present, I’ve just used the one line of code:
dwi = create_key(‘sub-{subject}/{session}/dwi/sub-{subject}_{session}_dwi’)
Just to let you know I’ve fixed the issue. I saved the b=0 reverse-phase encoded image as a field map, and then separated out the NODDI images by b-values.