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):
652652 desc = "Use, delete or overwrite existing expert options file" )
653653 subjects_dir = Directory (exists = True , argstr = '-sd %s' , hash_files = False ,
654654 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' )
656656
657657 # Expert options
658658 talairach = traits .Str (desc = "Flags to pass to talairach commands" , xor = ['expert' ])
@@ -703,7 +703,12 @@ class ReconAll(CommandLine):
703703 >>> reconall.inputs.T1_files = 'structural.nii'
704704 >>> reconall.cmdline # doctest: +ALLOW_UNICODE
705705 '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 .'
707712 """
708713
709714 _cmd = 'recon-all'
You can’t perform that action at this time.
0 commit comments