Skip to content

FIX: updates input spec to allow 4D images #2151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nipype/interfaces/ants/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ class GenWarpFields(antsIntroduction):


class buildtemplateparallelInputSpec(ANTSCommandInputSpec):
dimension = traits.Enum(3, 2, argstr='-d %d', usedefault=True,
desc='image dimension (2 or 3)', position=1)
dimension = traits.Enum(3, 2, 4, argstr='-d %d', usedefault=True,
desc='image dimension (2, 3 or 4)', position=1)
out_prefix = traits.Str('antsTMPL_', argstr='-o %s', usedefault=True,
desc=('Prefix that is prepended to all output '
'files (default = antsTMPL_)'))
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/ants/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ def _list_outputs(self):


class N4BiasFieldCorrectionInputSpec(ANTSCommandInputSpec):
dimension = traits.Enum(3, 2, argstr='-d %d',
dimension = traits.Enum(3, 2, 4, argstr='-d %d',
usedefault=True,
desc='image dimension (2 or 3)')
desc='image dimension (2, 3 or 4)')
input_image = File(argstr='--input-image %s', mandatory=True,
desc=('image to apply transformation to (generally a '
'coregistered functional)'))
Expand Down