@@ -628,10 +628,17 @@ class ReconAllInputSpec(CommandLineInputSpec):
628
628
argstr = "-hemi %s" )
629
629
T1_files = InputMultiPath (File (exists = True ), argstr = '-i %s...' ,
630
630
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' ],
632
633
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' )
635
642
openmp = traits .Int (argstr = "-openmp %d" ,
636
643
desc = "Number of processors to use in parallel" )
637
644
parallel = traits .Bool (argstr = "-parallel" ,
0 commit comments