diff --git a/.zenodo.json b/.zenodo.json index 4b8ae1f2a6..6e884e7594 100644 --- a/.zenodo.json +++ b/.zenodo.json @@ -911,6 +911,11 @@ "name": "Wu, Jianxiao", "orcid": "0000-0002-4866-272X", }, + { + "affiliation": "Lund University", + "name": "Anijärv, Toomas Erik", + "orcid": "0000-0002-3650-4230", + }, ], "keywords": [ "neuroimaging", diff --git a/nipype/interfaces/mrtrix3/utils.py b/nipype/interfaces/mrtrix3/utils.py index 6909f380be..3a35e7e534 100644 --- a/nipype/interfaces/mrtrix3/utils.py +++ b/nipype/interfaces/mrtrix3/utils.py @@ -11,6 +11,7 @@ traits, TraitedSpec, File, + Directory, InputMultiPath, isdefined, ) @@ -224,13 +225,16 @@ class Generate5ttInputSpec(MRTrix3BaseInputSpec): "fsl", "gif", "freesurfer", + "hsvs", argstr="%s", position=-3, mandatory=True, desc="tissue segmentation algorithm", ) - in_file = File( - exists=True, argstr="%s", mandatory=True, position=-2, desc="input image" + in_file = traits.Either( + File(exists=True), + Directory(exists=True), + argstr="%s", mandatory=True, position=-2, desc="input image / directory" ) out_file = File(argstr="%s", mandatory=True, position=-1, desc="output image")