Skip to content

Commit 6004eac

Browse files
pvelascoyarikoptic
andauthored
Make debug message more specific
Specify the reason of the deletion of `.bvec` and `.bval` files for non `dwi` output. Co-authored-by: Yaroslav Halchenko <[email protected]>
1 parent 0835b15 commit 6004eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

heudiconv/convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ def save_converted_files(res, item_dicoms, bids_options, outtype, prefix, outnam
681681
else:
682682
os.remove(res.outputs.bvecs)
683683
os.remove(res.outputs.bvals)
684-
lgr.debug("%s and %s were removmed", res.outputs.bvecs, res.outputs.bvals)
684+
lgr.debug("%s and %s were removed since not dwi", res.outputs.bvecs, res.outputs.bvals)
685685

686686
if isinstance(res_files, list):
687687
res_files = sorted(res_files)

0 commit comments

Comments
 (0)