Skip to content

Commit

Permalink
Add GenericLabel to ANTS ApplyTransforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Dec 5, 2023
1 parent b066807 commit 50be1a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nipype/interfaces/ants/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec):
"MultiLabel",
"Gaussian",
"BSpline",
"GenericLabel",
argstr="%s",
usedefault=True,
)
Expand Down Expand Up @@ -497,6 +498,7 @@ def _format_arg(self, opt, spec, val):
"BSpline",
"MultiLabel",
"Gaussian",
"GenericLabel",
] and isdefined(self.inputs.interpolation_parameters):
return "--interpolation {}[ {} ]".format(
self.inputs.interpolation,
Expand Down

0 comments on commit 50be1a4

Please sign in to comment.