File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ class ReconAllInputSpec(CommandLineInputSpec):
652
652
desc = "Use, delete or overwrite existing expert options file" )
653
653
subjects_dir = Directory (exists = True , argstr = '-sd %s' , hash_files = False ,
654
654
desc = 'path to subjects directory' , genfile = True )
655
- flags = traits .Str ( argstr = '%s' , desc = 'additional parameters' )
655
+ flags = InputMultiPath ( traits .Str , argstr = '%s' , desc = 'additional parameters' )
656
656
657
657
# Expert options
658
658
talairach = traits .Str (desc = "Flags to pass to talairach commands" , xor = ['expert' ])
@@ -703,7 +703,12 @@ class ReconAll(CommandLine):
703
703
>>> reconall.inputs.T1_files = 'structural.nii'
704
704
>>> reconall.cmdline # doctest: +ALLOW_UNICODE
705
705
'recon-all -all -i structural.nii -subjid foo -sd .'
706
-
706
+ >>> reconall.inputs.flags = "-qcache"
707
+ >>> reconall.cmdline # doctest: +ALLOW_UNICODE
708
+ 'recon-all -all -i structural.nii -qcache -subjid foo -sd .'
709
+ >>> reconall.inputs.flags = ["-cw256", "-qcache"]
710
+ >>> reconall.cmdline # doctest: +ALLOW_UNICODE
711
+ 'recon-all -all -i structural.nii -cw256 -qcache -subjid foo -sd .'
707
712
"""
708
713
709
714
_cmd = 'recon-all'
You can’t perform that action at this time.
0 commit comments