From 50be1a4acd53ee56bbeef93d038b497a62db334a Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Tue, 5 Dec 2023 10:37:57 -0500 Subject: [PATCH] Add GenericLabel to ANTS ApplyTransforms. --- nipype/interfaces/ants/resampling.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nipype/interfaces/ants/resampling.py b/nipype/interfaces/ants/resampling.py index 82a9e7a214..1b3e172756 100644 --- a/nipype/interfaces/ants/resampling.py +++ b/nipype/interfaces/ants/resampling.py @@ -349,6 +349,7 @@ class ApplyTransformsInputSpec(ANTSCommandInputSpec): "MultiLabel", "Gaussian", "BSpline", + "GenericLabel", argstr="%s", usedefault=True, ) @@ -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,