Skip to content

Commit a01d4b4

Browse files
committed
suggestions from chris
1 parent 83844ad commit a01d4b4

File tree

10 files changed

+10
-24
lines changed

10 files changed

+10
-24
lines changed

nipype/algorithms/confounds.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,6 @@ class CompCorInputSpec(BaseInterfaceInputSpec):
390390
desc='Detrend time series prior to component '
391391
'extraction')
392392
use_regress_poly = traits.Bool(
393-
True,
394-
usedefault=True,
395393
deprecated='0.15.0',
396394
new_name='pre_filter',
397395
desc=('use polynomial regression '

nipype/algorithms/tests/test_auto_ACompCor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ def test_ACompCor_inputs():
3232
use_regress_poly=dict(
3333
deprecated='0.15.0',
3434
new_name='pre_filter',
35-
usedefault=True,
3635
),
3736
)
3837
inputs = ACompCor.input_spec()

nipype/algorithms/tests/test_auto_TCompCor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ def test_TCompCor_inputs():
3333
use_regress_poly=dict(
3434
deprecated='0.15.0',
3535
new_name='pre_filter',
36-
usedefault=True,
3736
),
3837
)
3938
inputs = TCompCor.input_spec()

nipype/interfaces/afni/tests/test_auto_NwarpApply.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,7 @@
55

66
def test_NwarpApply_inputs():
77
input_map = dict(
8-
ainterp=dict(
9-
argstr='-ainterp %s',
10-
usedefault=True,
11-
),
8+
ainterp=dict(argstr='-ainterp %s', ),
129
args=dict(argstr='%s', ),
1310
environ=dict(
1411
nohash=True,

nipype/interfaces/afni/tests/test_auto_OneDToolPy.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def test_OneDToolPy_inputs():
3434
show_cormat_warnings=dict(
3535
argstr='-show_cormat_warnings |& tee %s',
3636
position=-1,
37-
usedefault=False,
3837
xor=['out_file'],
3938
),
4039
show_indices_interest=dict(argstr='-show_indices_interest', ),

nipype/interfaces/afni/utils.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1625,7 +1625,6 @@ class NwarpApplyInputSpec(CommandLineInputSpec):
16251625
argstr='-interp %s',
16261626
usedefault=True)
16271627
ainterp = traits.Enum(
1628-
'wsinc5',
16291628
'NN',
16301629
'nearestneighbour',
16311630
'nearestneighbor',
@@ -1635,10 +1634,10 @@ class NwarpApplyInputSpec(CommandLineInputSpec):
16351634
'tricubic',
16361635
'quintic',
16371636
'triquintic',
1637+
'wsinc5',
16381638
desc='specify a different interpolation method than might '
16391639
'be used for the warp',
1640-
argstr='-ainterp %s',
1641-
usedefault=True)
1640+
argstr='-ainterp %s')
16421641
out_file = File(
16431642
name_template='%s_Nwarp',
16441643
desc='output image file name',
@@ -1671,7 +1670,7 @@ class NwarpApply(AFNICommandBase):
16711670
>>> nwarp.inputs.master = 'NWARP'
16721671
>>> nwarp.inputs.warp = "'Fred_WARP+tlrc Fred.Xaff12.1D'"
16731672
>>> nwarp.cmdline
1674-
"3dNwarpApply -ainterp wsinc5 -source Fred+orig -interp wsinc5 -master NWARP -prefix Fred+orig_Nwarp -nwarp \'Fred_WARP+tlrc Fred.Xaff12.1D\'"
1673+
"3dNwarpApply -source Fred+orig -interp wsinc5 -master NWARP -prefix Fred+orig_Nwarp -nwarp \'Fred_WARP+tlrc Fred.Xaff12.1D\'"
16751674
>>> res = nwarp.run() # doctest: +SKIP
16761675
16771676
"""
@@ -1842,7 +1841,6 @@ class OneDToolPyInputSpec(AFNIPythonCommandInputSpec):
18421841
show_cormat_warnings = traits.File(
18431842
desc='Write cormat warnings to a file',
18441843
argstr="-show_cormat_warnings |& tee %s",
1845-
usedefault=False,
18461844
position=-1,
18471845
xor=['out_file'])
18481846
show_indices_interest = traits.Bool(

nipype/interfaces/fsl/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Level1DesignInputSpec(BaseInterfaceInputSpec):
5656
desc=("which regressors to make orthogonal e.g., "
5757
"{1: {0:0,1:0,2:0}, 2: {0:1,1:1,2:0}} to make the second "
5858
"regressor in a 2-regressor model orthogonal to the first."),
59-
value={}, usedefault=True)
59+
usedefault=True)
6060
model_serial_correlations = traits.Bool(
6161
desc="Option to model serial correlations using an \
6262
autoregressive estimator (order 1). Setting this option is only \

nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ def test_ComputeTDI_inputs():
88
args=dict(argstr='%s', ),
99
contrast=dict(argstr='-constrast %s', ),
1010
data_type=dict(argstr='-datatype %s', ),
11-
dixel=dict(
12-
argstr='-dixel %s',
13-
usedefault=True,
14-
),
11+
dixel=dict(argstr='-dixel %s', ),
1512
ends_only=dict(argstr='-ends_only', ),
1613
environ=dict(
1714
nohash=True,

nipype/interfaces/mrtrix3/utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class TensorMetricsInputSpec(CommandLineInputSpec):
182182
out_eval = File(
183183
argstr='-value %s', desc='output selected eigenvalue(s) file')
184184
component = traits.List(
185-
[1, 2, 3],
185+
[1],
186186
usedefault=True,
187187
argstr='-num %s',
188188
sep=',',
@@ -222,7 +222,7 @@ class TensorMetrics(CommandLine):
222222
>>> comp.inputs.in_file = 'dti.mif'
223223
>>> comp.inputs.out_fa = 'fa.mif'
224224
>>> comp.cmdline # doctest: +ELLIPSIS
225-
'tensor2metric -num 1,2,3 -fa fa.mif dti.mif'
225+
'tensor2metric -num 1 -fa fa.mif dti.mif'
226226
>>> comp.run() # doctest: +SKIP
227227
"""
228228

@@ -267,7 +267,6 @@ class ComputeTDIInputSpec(CommandLineInputSpec):
267267
desc='specify output image data type')
268268
use_dec = traits.Bool(argstr='-dec', desc='perform mapping in DEC space')
269269
dixel = File(
270-
'dixels.txt', usedefault=True,
271270
argstr='-dixel %s',
272271
desc='map streamlines to'
273272
'dixels within each voxel. Directions are stored as'
@@ -416,7 +415,7 @@ class ComputeTDI(MRTrix3Base):
416415
>>> tdi = mrt.ComputeTDI()
417416
>>> tdi.inputs.in_file = 'dti.mif'
418417
>>> tdi.cmdline # doctest: +ELLIPSIS
419-
'tckmap -dixel dixels.txt dti.mif tdi.mif'
418+
'tckmap dti.mif tdi.mif'
420419
>>> tdi.run() # doctest: +SKIP
421420
"""
422421

nipype/interfaces/niftyseg/em.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class EMInputSpec(CommandLineInputSpec):
6262
argstr='-min_iter %s',
6363
default_value=0,
6464
usedefault=True,
65-
desc='Minimun number of iterations')
65+
desc='Minimum number of iterations')
6666

6767
# other options
6868
bc_order_val = traits.Int(

0 commit comments

Comments
 (0)