Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion nipype/interfaces/ants/segmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ class N4BiasFieldCorrectionInputSpec(ANTSCommandInputSpec):
)
rescale_intensities = traits.Bool(
False,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a move a while back to either remove defaults if unused, or set usedefault=True if the default was specified. In this case, if we're removing usedefault, we should also remove the default.

Suggested change
False,

usedefault=True,
argstr="-r",
min_ver="2.1.0",
desc="""\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def test_N4BiasFieldCorrection_inputs():
rescale_intensities=dict(
argstr="-r",
min_ver="2.1.0",
usedefault=True,
),
save_bias=dict(
mandatory=True,
Expand Down