We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e1e601 commit 05660ccCopy full SHA for 05660cc
heudiconv/convert.py
@@ -896,7 +896,7 @@ def save_converted_files(
896
bvals, bvecs = res.outputs.bvals, res.outputs.bvecs
897
bvals = list(bvals) if isinstance(bvals, TraitListObject) else bvals
898
bvecs = list(bvecs) if isinstance(bvecs, TraitListObject) else bvecs
899
- if prefix_dirname.endswith("dwi"):
+ if prefix.endswith("dwi"):
900
outname_bvecs, outname_bvals = prefix + ".bvec", prefix + ".bval"
901
safe_movefile(bvecs, outname_bvecs, overwrite)
902
safe_movefile(bvals, outname_bvals, overwrite)
0 commit comments