Skip to content

Commit

Permalink
forgot bval bvec
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Jun 17, 2022
1 parent c6fb2ca commit f45b951
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dcm2bids/dcm2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit f45b951

Please sign in to comment.