File tree Expand file tree Collapse file tree 1 file changed +15
-8
lines changed
nipype/interfaces/freesurfer Expand file tree Collapse file tree 1 file changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -353,12 +353,18 @@ def cmdline(self):
353353
354354class LongReconAllInputSpec (ReconAllInputSpec ):
355355 subject_id = traits .Str (argstr = "-subjid %s" , desc = "subject name" )
356- long_id = traits .Tuple (
357- traits .Str (),
358- traits .Str (),
359- argstr = "-long %s %s" ,
360- desc = "longitudinal name followed by base template name" ,
361- xor = ["subject_id" ]
356+ long_id = traits .Str (
357+ argstr = "-long %s" ,
358+ desc = "longitudinal session/timepoint id" ,
359+ xor = ["subject_id" ],
360+ requires = ["base_id" ],
361+ position = 1
362+ )
363+ base_id = traits .Str (
364+ argstr = "%s" ,
365+ desc = "longitudinal base template id" ,
366+ requires = ["long_id" ],
367+ position = 2
362368 )
363369
364370
@@ -376,11 +382,12 @@ class LongReconAll(CommandLine):
376382
377383 >>> from nipype.interfaces.freesurfer.longitudinal import LongReconAll
378384 >>> longrecon = LongReconAll()
379- >>> longrecon.inputs.long_id = ("ses-1","sub-template")
385+ >>> longrecon.inputs.long_id = "ses-1"
386+ >>> longrecon.inputs.base_id = "sub-template"
380387 >>> longrecon.inputs.directive = "all"
381388 >>> longrecon.inputs.subjects_dir = "."
382389 >>> longrecon.cmdline
383- 'recon-all -all -long ses-1 sub-template -sd .'
390+ 'recon-all -all -long ses-1 -base sub-template -sd .'
384391 """
385392
386393 _cmd = "recon-all"
You can’t perform that action at this time.
0 commit comments