Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
5 changes: 4 additions & 1 deletion nipype/algorithms/tests/test_auto_AddCSVRow.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
def test_AddCSVRow_inputs():
input_map = dict(
_outputs=dict(usedefault=True, ),
in_file=dict(mandatory=True, ),
in_file=dict(
extensions=None,
mandatory=True,
),
)
inputs = AddCSVRow.input_spec()

Expand Down
9 changes: 4 additions & 5 deletions nipype/algorithms/tests/test_auto_Gunzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@


def test_Gunzip_inputs():
input_map = dict(
in_file=dict(
extensions=None,
mandatory=True,
), )
input_map = dict(in_file=dict(
extensions=None,
mandatory=True,
), )
inputs = Gunzip.input_spec()

for key, metadata in list(input_map.items()):
Expand Down
9 changes: 4 additions & 5 deletions nipype/algorithms/tests/test_auto_NonSteadyStateDetector.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@


def test_NonSteadyStateDetector_inputs():
input_map = dict(
in_file=dict(
extensions=None,
mandatory=True,
), )
input_map = dict(in_file=dict(
extensions=None,
mandatory=True,
), )
inputs = NonSteadyStateDetector.input_spec()

for key, metadata in list(input_map.items()):
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/afni/tests/test_auto_Allineate.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def test_Allineate_inputs():
),
out_weight_file=dict(
argstr='-wtprefix %s',
extensions=None,
xor=['allcostx'],
),
outputtype=dict(),
Expand Down
7 changes: 3 additions & 4 deletions nipype/interfaces/afni/tests/test_auto_Cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ def test_Cat_inputs():
usedefault=True,
),
omitconst=dict(argstr='-nonconst', ),
out_cint=dict(
xor=[
'out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'
], ),
out_cint=dict(xor=[
'out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'
], ),
out_double=dict(
argstr='-d',
xor=['out_format', 'out_nice', 'out_int', 'out_fint', 'out_cint'],
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/afni/tests/test_auto_ClipLevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def test_ClipLevel_inputs():
),
grad=dict(
argstr='-grad %s',
extensions=None,
position=3,
xor='doall',
),
Expand Down
7 changes: 6 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_LocalBistat.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ def test_LocalBistat_inputs():
mandatory=True,
position=-1,
),
mask_file=dict(argstr='-mask %s', ),
mask_file=dict(
argstr='-mask %s',
extensions=None,
),
neighborhood=dict(
argstr="-nbhd '%s(%s)'",
mandatory=True,
Expand All @@ -37,6 +40,7 @@ def test_LocalBistat_inputs():
),
out_file=dict(
argstr='-prefix %s',
extensions=None,
keep_extension=True,
name_source='in_file1',
name_template='%s_bistat',
Expand All @@ -49,6 +53,7 @@ def test_LocalBistat_inputs():
),
weight_file=dict(
argstr='-weight %s',
extensions=None,
xor=['automask'],
),
)
Expand Down
6 changes: 5 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_Localstat.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ def test_Localstat_inputs():
mandatory=True,
position=-1,
),
mask_file=dict(argstr='-mask %s', ),
mask_file=dict(
argstr='-mask %s',
extensions=None,
),
neighborhood=dict(
argstr="-nbhd '%s(%s)'",
mandatory=True,
Expand All @@ -33,6 +36,7 @@ def test_Localstat_inputs():
),
out_file=dict(
argstr='-prefix %s',
extensions=None,
keep_extension=True,
name_source='in_file',
name_template='%s_localstat',
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_NwarpApply.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ def test_NwarpApply_inputs():
usedefault=True,
),
inv_warp=dict(argstr='-iwarp', ),
master=dict(argstr='-master %s', ),
master=dict(
argstr='-master %s',
extensions=None,
),
out_file=dict(
argstr='-prefix %s',
extensions=None,
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/afni/tests/test_auto_OneDToolPy.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def test_OneDToolPy_inputs():
show_censor_count=dict(argstr='-show_censor_count', ),
show_cormat_warnings=dict(
argstr='-show_cormat_warnings |& tee %s',
extensions=None,
position=-1,
xor=['out_file'],
),
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_Qwarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ def test_Qwarp_inputs():
name_source=['in_file'],
name_template='ppp_%s',
),
out_weight_file=dict(argstr='-wtprefix %s', ),
out_weight_file=dict(
argstr='-wtprefix %s',
extensions=None,
),
outputtype=dict(),
overwrite=dict(argstr='-overwrite', ),
pblur=dict(argstr='-pblur %s', ),
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_QwarpPlusMinus.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ def test_QwarpPlusMinus_inputs():
position=0,
usedefault=True,
),
out_weight_file=dict(argstr='-wtprefix %s', ),
out_weight_file=dict(
argstr='-wtprefix %s',
extensions=None,
),
outputtype=dict(),
overwrite=dict(argstr='-overwrite', ),
pblur=dict(argstr='-pblur %s', ),
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_ROIStats.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ def test_ROIStats_inputs():
position=-1,
),
quiet=dict(argstr='-quiet', ),
roisel=dict(argstr='-roisel %s', ),
roisel=dict(
argstr='-roisel %s',
extensions=None,
),
stat=dict(argstr='%s...', ),
zerofill=dict(
argstr='-zerofill %s',
Expand Down
6 changes: 5 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_ReHo.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@ def test_ReHo_inputs():
argstr='-in_rois %s',
extensions=None,
),
mask_file=dict(argstr='-mask %s', ),
mask_file=dict(
argstr='-mask %s',
extensions=None,
),
neighborhood=dict(
argstr='-nneigh %s',
xor=['sphere', 'ellipsoid'],
),
out_file=dict(
argstr='-prefix %s',
extensions=None,
keep_extension=True,
name_source='in_file',
name_template='%s_reho',
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/afni/tests/test_auto_Remlfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def test_Remlfit_inputs():
),
matim=dict(
argstr='-matim %s',
extensions=None,
xor=['matrix'],
),
matrix=dict(
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_Resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ def test_Resample_inputs():
mandatory=True,
position=-1,
),
master=dict(argstr='-master %s', ),
master=dict(
argstr='-master %s',
extensions=None,
),
num_threads=dict(
nohash=True,
usedefault=True,
Expand Down
5 changes: 4 additions & 1 deletion nipype/interfaces/afni/tests/test_auto_TCorrMap.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ def test_TCorrMap_inputs():
name_source='in_file',
suffix='_qmean',
),
regress_out_timeseries=dict(argstr='-ort %s', ),
regress_out_timeseries=dict(
argstr='-ort %s',
extensions=None,
),
seeds=dict(
argstr='-seed %s',
extensions=None,
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/afni/tests/test_auto_Zeropad.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def test_Zeropad_inputs():
),
master=dict(
argstr='-master %s',
extensions=None,
xor=['I', 'S', 'A', 'P', 'L', 'R', 'z', 'RL', 'AP', 'IS', 'mm'],
),
mm=dict(
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/ants/tests/test_auto_ANTS.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def test_ANTS_inputs():
regularization=dict(argstr='%s', ),
regularization_deformation_field_sigma=dict(
requires=['regularization'], ),
regularization_gradient_field_sigma=dict(
requires=['regularization'], ),
regularization_gradient_field_sigma=dict(requires=['regularization'
], ),
smoothing_sigmas=dict(
argstr='--gaussian-smoothing-sigmas %s',
sep='x',
Expand Down
9 changes: 4 additions & 5 deletions nipype/interfaces/ants/tests/test_auto_AntsJointFusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ def test_AntsJointFusion_inputs():
nohash=True,
usedefault=True,
),
out_atlas_voting_weight_name_format=dict(
requires=[
'out_label_fusion', 'out_intensity_fusion_name_format',
'out_label_post_prob_name_format'
], ),
out_atlas_voting_weight_name_format=dict(requires=[
'out_label_fusion', 'out_intensity_fusion_name_format',
'out_label_post_prob_name_format'
], ),
out_intensity_fusion_name_format=dict(argstr='', ),
out_label_fusion=dict(
argstr='%s',
Expand Down
4 changes: 2 additions & 2 deletions nipype/interfaces/ants/tests/test_auto_Atropos.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def test_Atropos_inputs():
prior_probability_threshold=dict(requires=['prior_weighting'], ),
prior_weighting=dict(),
save_posteriors=dict(),
use_mixture_model_proportions=dict(
requires=['posterior_formulation'], ),
use_mixture_model_proportions=dict(requires=['posterior_formulation'
], ),
use_random_seed=dict(
argstr='--use-random-seed %d',
usedefault=True,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def test_StdOutCommandLine_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_AnalyzeHeader.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def test_AnalyzeHeader_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_ComputeEigensystem_inputs():
maxcomponents=dict(argstr='-maxcomponents %d', ),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_ComputeFractionalAnisotropy_inputs():
inputmodel=dict(argstr='-inputmodel %s', ),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def test_ComputeTensorTrace_inputs():
inputmodel=dict(argstr='-inputmodel %s', ),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_DTIFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_DTIFit_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_DTLUTGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def test_DTLUTGen_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_FSL2Scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_FSL2Scheme_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_Image2Voxel.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def test_Image2Voxel_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_LinRecon.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_LinRecon_inputs():
normalize=dict(argstr='-normalize', ),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_MESD.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def test_MESD_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_ModelFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def test_ModelFit_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_NIfTIDT2Camino.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def test_NIfTIDT2Camino_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
1 change: 1 addition & 0 deletions nipype/interfaces/camino/tests/test_auto_PicoPDFs.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ def test_PicoPDFs_inputs():
),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_ProcStreamlines_inputs():
noresample=dict(argstr='-noresample', ),
out_file=dict(
argstr='> %s',
extensions=None,
genfile=True,
position=-1,
),
Expand Down
Loading