From f45b95174c15c7b72e594c9f8a5292bf900b82eb Mon Sep 17 00:00:00 2001 From: arnaudbore Date: Fri, 17 Jun 2022 16:09:43 -0400 Subject: [PATCH] forgot bval bvec --- dcm2bids/dcm2bids.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dcm2bids/dcm2bids.py b/dcm2bids/dcm2bids.py index a4e5ab6f..e6e9fbf2 100644 --- a/dcm2bids/dcm2bids.py +++ b/dcm2bids/dcm2bids.py @@ -140,7 +140,8 @@ def move(self, acquisition, intendedForList): ext = Path(srcFile).suffixes ext = [curr_ext for curr_ext in ext if curr_ext in ['.nii','.gz', - '.json']] + '.json', + '.bval','.bvec']] dstFile = (self.bidsDir / acquisition.dstRoot).with_suffix("".join(ext))