Skip to content

Commit 77f5bd4

Browse files
committed
FIX: T2/FLAIR inputs not mutually exclusive
1 parent 56e9613 commit 77f5bd4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,10 @@ class ReconAllInputSpec(CommandLineInputSpec):
629629
T1_files = InputMultiPath(File(exists=True), argstr='-i %s...',
630630
desc='name of T1 file to process')
631631
T2_file = File(exists=True, argstr="-T2 %s",
632-
min_ver='5.3.0', xor=['FLAIR_file'],
632+
min_ver='5.3.0',
633633
desc='Convert T2 image to orig directory')
634634
FLAIR_file = File(exists=True, argstr="-FLAIR %s",
635-
min_ver='5.3.0', xor=['T2_file'],
635+
min_ver='5.3.0',
636636
desc='Convert FLAIR image to orig directory')
637637
use_T2 = traits.Bool(argstr="-T2pial", min_ver='5.3.0', xor=['use_FLAIR'],
638638
desc='Use T2 image to refine the pial surface')

nipype/interfaces/freesurfer/tests/test_auto_ReconAll.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,11 @@
66
def test_ReconAll_inputs():
77
input_map = dict(FLAIR_file=dict(argstr='-FLAIR %s',
88
min_ver='5.3.0',
9-
xor=['T2_file'],
109
),
1110
T1_files=dict(argstr='-i %s...',
1211
),
1312
T2_file=dict(argstr='-T2 %s',
1413
min_ver='5.3.0',
15-
xor=['FLAIR_file'],
1614
),
1715
args=dict(argstr='%s',
1816
),

0 commit comments

Comments
 (0)