Skip to content

Commit

Permalink
typo_src_file_dst_file
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudbore committed Jul 16, 2023
1 parent 5a27f2f commit 163d099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dcm2bids/dcm2bids_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def move(self, acquisition, idList, post_op):
for curr_post_op in post_op:
if acquisition.datatype in curr_post_op['datatype'] or 'any' in curr_post_op['datatype']:
if acquisition.suffix in curr_post_op['suffix'] or '_any' in curr_post_op['suffix']:
cmd = curr_post_op['cmd'].replace('srcFile', str(srcFile))
cmd = cmd.replace('dstFile', str(dstFile))
cmd = curr_post_op['cmd'].replace('src_file', str(srcFile))
cmd = cmd.replace('dst_file', str(dstFile))
run_shell_command(cmd.split())
continue

Expand Down

0 comments on commit 163d099

Please sign in to comment.