Skip to content

Commit

Permalink
Merge pull request #172 from UNFmontreal/quick_fix
Browse files Browse the repository at this point in the history
BF - forgot bval bvec
  • Loading branch information
arnaudbore authored Jun 17, 2022
2 parents c6fb2ca + f45b951 commit ee60f5d
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 ee60f5d

Please sign in to comment.