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 @@ -638,7 +638,7 @@ class ReconAllInputSpec(CommandLineInputSpec):
638638 desc = "Set parameters using expert file" )
639639 subjects_dir = Directory (exists = True , argstr = '-sd %s' , hash_files = False ,
640640 desc = 'path to subjects directory' , genfile = True )
641- flags = traits .Str ( argstr = '%s' , desc = 'additional parameters' )
641+ flags = traits .Either ( traits . Str , traits . List , argstr = '%s' , desc = 'additional parameters' )
642642
643643 # Expert options
644644 talairach = traits .Str (desc = "Flags to pass to talairach commands" , xor = ['expert' ])
@@ -689,7 +689,12 @@ class ReconAll(CommandLine):
689689 >>> reconall.inputs.T1_files = 'structural.nii'
690690 >>> reconall.cmdline # doctest: +ALLOW_UNICODE
691691 'recon-all -all -i structural.nii -subjid foo -sd .'
692-
692+ >>> reconall.inputs.flags = "-qcache"
693+ >>> reconall.cmdline # doctest: +IGNORE_UNICODE
694+ 'recon-all -all -i structural.nii -qcache -subjid foo -sd .'
695+ >>> reconall.inputs.flags = ["-cw256", "-qcache"]
696+ >>> reconall.cmdline # doctest: +IGNORE_UNICODE
697+ 'recon-all -all -i structural.nii -cw256 -qcache -subjid foo -sd .'
693698 """
694699
695700 _cmd = 'recon-all'
You can’t perform that action at this time.
0 commit comments