Skip to content

Commit db46c6a

Browse files
committed
Add deprecation for old output variable modulated_input_image in Segment (to be replaced with bias_corrected_image) and removed exists=True for outputs that are predicated on input settings
1 parent dfb33ba commit db46c6a

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -518,16 +518,17 @@ class SegmentInputSpec(SPMCommandInputSpec):
518518

519519

520520
class SegmentOutputSpec(TraitedSpec):
521-
native_gm_image = File(exists=True, desc='native space grey probability map')
522-
normalized_gm_image = File(exists=True, desc='normalized grey probability map',)
523-
modulated_gm_image = File(exists=True, desc='modulated, normalized grey probability map')
524-
native_wm_image = File(exists=True, desc='native space white probability map')
525-
normalized_wm_image = File(exists=True, desc='normalized white probability map')
526-
modulated_wm_image = File(exists=True, desc='modulated, normalized white probability map')
527-
native_csf_image = File(exists=True, desc='native space csf probability map')
528-
normalized_csf_image = File(exists=True, desc='normalized csf probability map')
529-
modulated_csf_image = File(exists=True, desc='modulated, normalized csf probability map')
530-
bias_corrected_image = File(exists=True, desc='bias-corrected version of input image')
521+
native_gm_image = File(desc='native space grey probability map')
522+
normalized_gm_image = File(desc='normalized grey probability map',)
523+
modulated_gm_image = File(desc='modulated, normalized grey probability map')
524+
native_wm_image = File(desc='native space white probability map')
525+
normalized_wm_image = File(desc='normalized white probability map')
526+
modulated_wm_image = File(desc='modulated, normalized white probability map')
527+
native_csf_image = File(desc='native space csf probability map')
528+
normalized_csf_image = File(desc='normalized csf probability map')
529+
modulated_csf_image = File(desc='modulated, normalized csf probability map')
530+
modulated_input_image = File(deprecated='0.10', new_name='bias_corrected_image', desc='bias-corrected version of input image')
531+
bias_corrected_image = File(desc='bias-corrected version of input image')
531532
transformation_mat = File(exists=True, desc='Normalization transformation')
532533
inverse_transformation_mat = File(exists=True, desc='Inverse normalization info')
533534

0 commit comments

Comments
 (0)