diff --git a/niworkflows/interfaces/images.py b/niworkflows/interfaces/images.py index 66b45f78248..2669904196a 100644 --- a/niworkflows/interfaces/images.py +++ b/niworkflows/interfaces/images.py @@ -380,10 +380,11 @@ def _run_interface(self, runtime): class _TemplateDimensionsInputSpec(BaseInterfaceInputSpec): anat_type = traits.Enum("T1w", "T2w", usedefault=True, desc="Anatomical image type") anat_list = InputMultiObject( - File(exists=True), xor="t1w_list", desc="input anatomical images" + File(exists=True), xor=["t1w_list"], desc="input anatomical images" ) t1w_list = InputMultiObject( - xor="anat_list", + File(exists=True), + xor=["anat_list"], deprecated="1.14.0", new_name="anat_list", ) @@ -393,7 +394,7 @@ class _TemplateDimensionsInputSpec(BaseInterfaceInputSpec): class _TemplateDimensionsOutputSpec(TraitedSpec): - t1w_valid_list = OutputMultiObject(exists=True, deprecated="1.14.0", desc="valid T1w images") + t1w_valid_list = OutputMultiObject(exists=True, desc="valid T1w images") anat_valid_list = OutputMultiObject(exists=True, desc="valid anatomical images") target_zooms = traits.Tuple( traits.Float, traits.Float, traits.Float, desc="Target zoom information"