Skip to content

Commit 01e8e70

Browse files
committed
fix: remove flag from normalize
1 parent 9273dcb commit 01e8e70

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class Normalize12InputSpec(SPMCommandInputSpec):
544544
desc='FWHM of Gaussian smoothness of bias')
545545
tpm = File(exists=True, field='eoptions.tpm',
546546
desc='template in form of tissue probablitiy maps to normalize to',
547-
mandatory=False, xor=['deformation_file'],
547+
xor=['deformation_file'],
548548
copyfile=False)
549549
affine_regularization_type = traits.Enum('mni', 'size', 'none',
550550
field='eoptions.affreg',

nipype/interfaces/spm/tests/test_auto_Normalize12.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def test_Normalize12_inputs():
3737
),
3838
tpm=dict(copyfile=False,
3939
field='eoptions.tpm',
40-
mandatory=False,
4140
xor=['deformation_file'],
4241
),
4342
use_mcr=dict(),

0 commit comments

Comments
 (0)