Skip to content

Commit 5766e9d

Browse files
committed
rician as bool
1 parent 585c8d5 commit 5766e9d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

nipype/interfaces/cat12/preprocess.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ class CAT12SANLMDenoisingInputSpec(SPMCommandInputSpec):
627627
desc='Filename prefix. Specify the string to be prepended to the filenames of the filtered image file(s).',
628628
)
629629

630-
filename_suffix= traits.Str(
630+
filename_suffix = traits.Str(
631631
field='suffix',
632632
default_value='',
633633
usedefault=True,
@@ -639,9 +639,8 @@ class CAT12SANLMDenoisingInputSpec(SPMCommandInputSpec):
639639
field='addnoise',
640640
desc='Strength of additional noise in noise-free regions. Add minimal amount of noise in regions without any noise to avoid image segmentation problems. This parameter defines the strength of additional noise as percentage of the average signal intensity.')
641641

642-
rician = traits.Enum(
643-
0,
644-
1,
642+
rician = traits.Bool(
643+
True,
645644
field='rician',
646645
usedefault=True,
647646
desc='''Rician noise
@@ -651,7 +650,7 @@ class CAT12SANLMDenoisingInputSpec(SPMCommandInputSpec):
651650
artefacts, e.g. cortex can be affected by very high values in the scalp or in blood vessels.''')
652651

653652
replaceNANandINF = traits.Bool(
654-
True
653+
True,
655654
field='replaceNANandINF',
656655
usedefault=True,
657656
desc='Replace NAN by 0, -INF by the minimum and INF by the maximum of the image.'

0 commit comments

Comments
 (0)