Merged
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,6 +11,7 @@
traits,
TraitedSpec,
File,
Directory,
InputMultiPath,
isdefined,
)
Expand DownExpand 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