Skip to content

Commit

Permalink
Merge pull request #3630 from teanijarv/master
Browse files Browse the repository at this point in the history
ENH: added 'hsvs' option to 5ttgen + mrtransform fix
  • Loading branch information
effigies authored Mar 17, 2024
2 parents 58d4fc7 + 7fc44fd commit 46e1df6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .zenodo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 6 additions & 2 deletions nipype/interfaces/mrtrix3/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
traits,
TraitedSpec,
File,
Directory,
InputMultiPath,
isdefined,
)
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit 46e1df6

Please sign in to comment.