Skip to content

Commit

Permalink
Merge pull request #3548 from mauriliogenovese/origin/fix/dcm2niix-me…
Browse files Browse the repository at this point in the history
…rge_imgs

[FIX] update merge_imgs input type of dcm2niix Node
  • Loading branch information
effigies authored Jul 5, 2023
2 parents 4a6a7d9 + 3ab8397 commit 4829683
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions nipype/interfaces/dcm2nii.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,10 @@ class Dcm2niixInputSpec(CommandLineInputSpec):
usedefault=True,
desc="Gzip compress images - [y=pigz, i=internal, n=no, 3=no,3D]",
)
merge_imgs = traits.Bool(
False, argstr="-m", usedefault=True, desc="merge 2D slices from same series"
merge_imgs = traits.Enum(
0, 1, 2,
argstr="-m %d",
desc="merge 2D slices from same series regardless of echo, exposure, etc. - [0=no, 1=yes, 2=auto]",
)
single_file = traits.Bool(
False, argstr="-s", usedefault=True, desc="Single file mode"
Expand Down

0 comments on commit 4829683

Please sign in to comment.