Skip to content

Commit 2ce233a

Browse files
committed
Added XOR condition between apply_isoxfm and apply_xfm
1 parent 8b051fe commit 2ce233a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/fsl/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ class FLIRTInputSpec(FSLCommandInputSpec):
403403
in_matrix_file = File(argstr='-init %s', desc='input 4x4 affine matrix')
404404
apply_xfm = traits.Bool(argstr='-applyxfm', requires=['in_matrix_file'],
405405
desc='apply transformation supplied by in_matrix_file')
406-
apply_isoxfm = traits.Float(argstr='-applyisoxfm %f',
406+
apply_isoxfm = traits.Float(argstr='-applyisoxfm %f', xor=['apply_xfm'],
407407
desc='as applyxfm but forces isotropic resampling')
408408
datatype = traits.Enum('char', 'short', 'int', 'float', 'double',
409409
argstr='-datatype %s',

0 commit comments

Comments
 (0)