Skip to content

Commit

Permalink
Merge pull request #351 from mgxd/bf/outname
Browse files Browse the repository at this point in the history
fix: dcm2niix outname
  • Loading branch information
yarikoptic authored May 23, 2019
2 parents 75a4c82 + c3c30b3 commit 312cd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion heudiconv/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def nipype_convert(item_dicoms, prefix, with_prov, bids_options, tmpdir, dcmconf
convertnode = Node(Dcm2niix(from_file=fromfile), name='convert')
convertnode.base_dir = tmpdir
convertnode.inputs.source_names = item_dicoms
convertnode.inputs.out_filename = op.basename(op.dirname(prefix))
convertnode.inputs.out_filename = prefix

if nipype.__version__.split('.')[0] == '0':
# deprecated since 1.0, might be needed(?) before
Expand Down

0 comments on commit 312cd2e

Please sign in to comment.