Skip to content

Commit f2d39a2

Browse files
committed
removing usedefault=False from traits (for traits were default was set i also remove this value)
1 parent 7b17b4e commit f2d39a2

19 files changed

+10
-61
lines changed

nipype/interfaces/ants/registration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ class ANTSInputSpec(ANTSCommandInputSpec):
1717
3,
1818
2,
1919
argstr='%d',
20-
usedefault=False,
2120
position=1,
2221
desc='image dimension (2 or 3)')
2322
fixed_image = InputMultiPath(

nipype/interfaces/ants/segmentation.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,6 @@ class DenoiseImageInputSpec(ANTSCommandInputSpec):
10631063
3,
10641064
4,
10651065
argstr='-d %d',
1066-
usedefault=False,
10671066
desc='This option forces the image to be treated '
10681067
'as a specified-dimensional image. If not '
10691068
'specified, the program tries to infer the '
@@ -1163,7 +1162,6 @@ class AntsJointFusionInputSpec(ANTSCommandInputSpec):
11631162
2,
11641163
4,
11651164
argstr='-d %d',
1166-
usedefault=False,
11671165
desc='This option forces the image to be treated '
11681166
'as a specified-dimensional image. If not '
11691167
'specified, the program tries to infer the '
@@ -1231,7 +1229,6 @@ class AntsJointFusionInputSpec(ANTSCommandInputSpec):
12311229
'PC',
12321230
'MSQ',
12331231
argstr='-m %s',
1234-
usedefault=False,
12351232
desc=('Metric to be used in determining the most similar '
12361233
'neighborhood patch. Options include Pearson\'s '
12371234
'correlation (PC) and mean squares (MSQ). Default = '

nipype/interfaces/ants/tests/test_auto_ANTS.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ def test_ANTS_inputs():
1111
dimension=dict(
1212
argstr='%d',
1313
position=1,
14-
usedefault=False,
1514
),
1615
environ=dict(
1716
nohash=True,

nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ def test_AntsJointFusion_inputs():
2626
argstr='-c',
2727
usedefault=True,
2828
),
29-
dimension=dict(
30-
argstr='-d %d',
31-
usedefault=False,
32-
),
29+
dimension=dict(argstr='-d %d', ),
3330
environ=dict(
3431
nohash=True,
3532
usedefault=True,
@@ -62,10 +59,7 @@ def test_AntsJointFusion_inputs():
6259
out_label_post_prob_name_format=dict(
6360
requires=['out_label_fusion', 'out_intensity_fusion_name_format'],
6461
),
65-
patch_metric=dict(
66-
argstr='-m %s',
67-
usedefault=False,
68-
),
62+
patch_metric=dict(argstr='-m %s', ),
6963
patch_radius=dict(
7064
argstr='-p %s',
7165
maxlen=3,

nipype/interfaces/ants/tests/test_auto_AverageAffineTransform.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def test_AverageAffineTransform_inputs():
1010
argstr='%d',
1111
mandatory=True,
1212
position=0,
13-
usedefault=False,
1413
),
1514
environ=dict(
1615
nohash=True,

nipype/interfaces/ants/tests/test_auto_CreateJacobianDeterminantImage.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ def test_CreateJacobianDeterminantImage_inputs():
2828
argstr='%d',
2929
mandatory=True,
3030
position=0,
31-
usedefault=False,
3231
),
3332
num_threads=dict(
3433
nohash=True,

nipype/interfaces/ants/tests/test_auto_DenoiseImage.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
def test_DenoiseImage_inputs():
77
input_map = dict(
88
args=dict(argstr='%s', ),
9-
dimension=dict(
10-
argstr='-d %d',
11-
usedefault=False,
12-
),
9+
dimension=dict(argstr='-d %d', ),
1310
environ=dict(
1411
nohash=True,
1512
usedefault=True,

nipype/interfaces/ants/tests/test_auto_MultiplyImages.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ def test_MultiplyImages_inputs():
1010
argstr='%d',
1111
mandatory=True,
1212
position=0,
13-
usedefault=False,
1413
),
1514
environ=dict(
1615
nohash=True,

nipype/interfaces/ants/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class AverageAffineTransformInputSpec(ANTSCommandInputSpec):
1515
3,
1616
2,
1717
argstr='%d',
18-
usedefault=False,
1918
mandatory=True,
2019
position=0,
2120
desc='image dimension (2 or 3)')
@@ -129,7 +128,6 @@ class MultiplyImagesInputSpec(ANTSCommandInputSpec):
129128
3,
130129
2,
131130
argstr='%d',
132-
usedefault=False,
133131
mandatory=True,
134132
position=0,
135133
desc='image dimension (2 or 3)')
@@ -185,7 +183,6 @@ class CreateJacobianDeterminantImageInputSpec(ANTSCommandInputSpec):
185183
3,
186184
2,
187185
argstr='%d',
188-
usedefault=False,
189186
mandatory=True,
190187
position=0,
191188
desc='image dimension (2 or 3)')

nipype/interfaces/freesurfer/preprocess.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2292,9 +2292,7 @@ class NormalizeInputSpec(FSTraitedSpec):
22922292
desc="The output file for Normalize")
22932293
# optional
22942294
gradient = traits.Int(
2295-
1,
22962295
argstr="-g %d",
2297-
usedefault=False,
22982296
desc="use max intensity/mm gradient g (default=1)")
22992297
mask = File(
23002298
argstr="-mask %s",

0 commit comments

Comments
 (0)