Skip to content

Commit 510ed60

Browse files
committed
Merge pull request #1048 from satra/fix/spmnorm
fix: remove flag from normalize
2 parents 60e6b55 + b7964c4 commit 510ed60

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Next release
22
============
33

4+
* FIX: remove unused mandatory flag from spm normalize (https://github.com/nipy/nipype/pull/1048)
45
* ENH: Update ANTSCorticalThickness interface (https://github.com/nipy/nipype/pull/1013)
56
* FIX: Edge case with sparsemodels and PEP8 cleanup (https://github.com/nipy/nipype/pull/1046)
67
* ENH: New io interfaces for JSON files reading/writing (https://github.com/nipy/nipype/pull/1020)

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)