@@ -628,10 +628,17 @@ class ReconAllInputSpec(CommandLineInputSpec):
628628 argstr = "-hemi %s" )
629629 T1_files = InputMultiPath (File (exists = True ), argstr = '-i %s...' ,
630630 desc = 'name of T1 file to process' )
631- T2_file = File (exists = True , argstr = "-T2 %s" , min_ver = '5.3.0' ,
631+ T2_file = File (exists = True , argstr = "-T2 %s" ,
632+ min_ver = '5.3.0' , xor = ['FLAIR_file' ],
632633 desc = 'Convert T2 image to orig directory' )
633- use_T2 = traits .Bool (argstr = "-T2pial" , min_ver = '5.3.0' ,
634- desc = 'Use converted T2 to refine the cortical surface' )
634+ FLAIR_file = File (exists = True , argstr = "-FLAIR %s" ,
635+ min_ver = '5.3.0' , xor = ['T2_file' ],
636+ desc = 'Convert FLAIR image to orig directory' )
637+ use_T2 = traits .Bool (argstr = "-T2pial" , min_ver = '5.3.0' , xor = ['use_FLAIR' ],
638+ desc = 'Use T2 image to refine the pial surface' )
639+ use_FLAIR = traits .Bool (argstr = "-FLAIRpial" ,
640+ min_ver = '5.3.0' , xor = ['use_T2' ],
641+ desc = 'Use FLAIR image to refine the pial surface' )
635642 openmp = traits .Int (argstr = "-openmp %d" ,
636643 desc = "Number of processors to use in parallel" )
637644 parallel = traits .Bool (argstr = "-parallel" ,
0 commit comments