Skip to content

Commit 6cda3ef

Browse files
authored
Merge pull request #2211 from effigies/fix/xvfb_and_noise
[ENH] Minor Xvfb and MultiProcPlugin cleanups
2 parents 4d08138 + ef7ccb0 commit 6cda3ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+247
-19
lines changed

nipype/interfaces/afni/tests/test_auto_ABoverlap.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def test_ABoverlap_inputs():
2424
),
2525
no_automask=dict(argstr='-no_automask',
2626
),
27+
num_threads=dict(nohash=True,
28+
usedefault=True,
29+
),
2730
out_file=dict(argstr=' |& tee %s',
2831
position=-1,
2932
),

nipype/interfaces/afni/tests/test_auto_AFNICommand.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ def test_AFNICommand_inputs():
1212
ignore_exception=dict(nohash=True,
1313
usedefault=True,
1414
),
15+
num_threads=dict(nohash=True,
16+
usedefault=True,
17+
),
1518
out_file=dict(argstr='-prefix %s',
1619
name_source=['in_file'],
1720
name_template='%s_afni',

nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ def test_AFNIPythonCommand_inputs():
1212
ignore_exception=dict(nohash=True,
1313
usedefault=True,
1414
),
15+
num_threads=dict(nohash=True,
16+
usedefault=True,
17+
),
1518
out_file=dict(argstr='-prefix %s',
1619
name_source=['in_file'],
1720
name_template='%s_afni',

nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ def test_AFNItoNIFTI_inputs():
2222
newid=dict(argstr='-newid',
2323
xor=['oldid'],
2424
),
25+
num_threads=dict(nohash=True,
26+
usedefault=True,
27+
),
2528
oldid=dict(argstr='-oldid',
2629
xor=['newid'],
2730
),

nipype/interfaces/afni/tests/test_auto_Allineate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ def test_Allineate_inputs():
6767
),
6868
nomask=dict(argstr='-nomask',
6969
),
70+
num_threads=dict(nohash=True,
71+
usedefault=True,
72+
),
7073
nwarp=dict(argstr='-nwarp %s',
7174
),
7275
nwarp_fixdep=dict(argstr='-nwarp_fixdep%s',

nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def test_AutoTcorrelate_inputs():
2727
mask_source=dict(argstr='-mask_source %s',
2828
xor=['mask_only_targets'],
2929
),
30+
num_threads=dict(nohash=True,
31+
usedefault=True,
32+
),
3033
out_file=dict(argstr='-prefix %s',
3134
name_source='in_file',
3235
name_template='%s_similarity_matrix.1D',

nipype/interfaces/afni/tests/test_auto_Autobox.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ def test_Autobox_inputs():
1818
),
1919
no_clustering=dict(argstr='-noclust',
2020
),
21+
num_threads=dict(nohash=True,
22+
usedefault=True,
23+
),
2124
out_file=dict(argstr='-prefix %s',
2225
name_source='in_file',
2326
name_template='%s_autobox',

nipype/interfaces/afni/tests/test_auto_Automask.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ def test_Automask_inputs():
2727
mandatory=True,
2828
position=-1,
2929
),
30+
num_threads=dict(nohash=True,
31+
usedefault=True,
32+
),
3033
out_file=dict(argstr='-prefix %s',
3134
name_source='in_file',
3235
name_template='%s_mask',

nipype/interfaces/afni/tests/test_auto_Axialize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def test_Axialize_inputs():
2323
mandatory=True,
2424
position=-2,
2525
),
26+
num_threads=dict(nohash=True,
27+
usedefault=True,
28+
),
2629
orientation=dict(argstr='-orient %s',
2730
),
2831
out_file=dict(argstr='-prefix %s',

nipype/interfaces/afni/tests/test_auto_Bandpass.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ def test_Bandpass_inputs():
4444
),
4545
notrans=dict(argstr='-notrans',
4646
),
47+
num_threads=dict(nohash=True,
48+
usedefault=True,
49+
),
4750
orthogonalize_dset=dict(argstr='-dsort %s',
4851
),
4952
orthogonalize_file=dict(argstr='-ort %s',

nipype/interfaces/afni/tests/test_auto_BlurInMask.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def test_BlurInMask_inputs():
2828
),
2929
multimask=dict(argstr='-Mmask %s',
3030
),
31+
num_threads=dict(nohash=True,
32+
usedefault=True,
33+
),
3134
options=dict(argstr='%s',
3235
position=2,
3336
),

nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def test_BlurToFWHM_inputs():
2525
),
2626
mask=dict(argstr='-blurmaster %s',
2727
),
28+
num_threads=dict(nohash=True,
29+
usedefault=True,
30+
),
2831
out_file=dict(argstr='-prefix %s',
2932
name_source=['in_file'],
3033
name_template='%s_afni',

nipype/interfaces/afni/tests/test_auto_Bucket.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ def test_Bucket_inputs():
1616
mandatory=True,
1717
position=-1,
1818
),
19+
num_threads=dict(nohash=True,
20+
usedefault=True,
21+
),
1922
out_file=dict(argstr='-prefix %s',
2023
name_template='buck',
2124
),

nipype/interfaces/afni/tests/test_auto_Calc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def test_Calc_inputs():
2626
in_file_c=dict(argstr='-c %s',
2727
position=2,
2828
),
29+
num_threads=dict(nohash=True,
30+
usedefault=True,
31+
),
2932
other=dict(argstr='',
3033
),
3134
out_file=dict(argstr='-prefix %s',

nipype/interfaces/afni/tests/test_auto_Cat.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ def test_Cat_inputs():
1818
),
1919
keepfree=dict(argstr='-nonfixed',
2020
),
21+
num_threads=dict(nohash=True,
22+
usedefault=True,
23+
),
2124
omitconst=dict(argstr='-nonconst',
2225
),
2326
out_cint=dict(xor=['out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'],

nipype/interfaces/afni/tests/test_auto_CatMatvec.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def test_CatMatvec_inputs():
2525
descr="indicates that the resulting matrix willbe written to outfile in the 'MATRIX(...)' format (FORM 3).This feature could be used, with clever scripting, to inputa matrix directly on the command line to program 3dWarp.",
2626
xor=['oneline', 'fourxfour'],
2727
),
28+
num_threads=dict(nohash=True,
29+
usedefault=True,
30+
),
2831
oneline=dict(argstr='-ONELINE',
2932
descr='indicates that the resulting matrixwill simply be written as 12 numbers on one line.',
3033
xor=['matrix', 'fourxfour'],

nipype/interfaces/afni/tests/test_auto_Copy.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def test_Copy_inputs():
1717
mandatory=True,
1818
position=-2,
1919
),
20+
num_threads=dict(nohash=True,
21+
usedefault=True,
22+
),
2023
out_file=dict(argstr='%s',
2124
name_source='in_file',
2225
name_template='%s_copy',

nipype/interfaces/afni/tests/test_auto_Deconvolve.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ def test_Deconvolve_inputs():
7474
num_stimts=dict(argstr='-num_stimts %d',
7575
position=-6,
7676
),
77+
num_threads=dict(nohash=True,
78+
usedefault=True,
79+
),
7780
ortvec=dict(argstr='ortvec %s',
7881
),
7982
out_file=dict(argstr='-bucket %s',

nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def test_DegreeCentrality_inputs():
2323
),
2424
mask=dict(argstr='-mask %s',
2525
),
26+
num_threads=dict(nohash=True,
27+
usedefault=True,
28+
),
2629
oned_file=dict(argstr='-out1D %s',
2730
),
2831
out_file=dict(argstr='-prefix %s',

nipype/interfaces/afni/tests/test_auto_Despike.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def test_Despike_inputs():
1717
mandatory=True,
1818
position=-1,
1919
),
20+
num_threads=dict(nohash=True,
21+
usedefault=True,
22+
),
2023
out_file=dict(argstr='-prefix %s',
2124
name_source='in_file',
2225
name_template='%s_despike',

nipype/interfaces/afni/tests/test_auto_Detrend.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def test_Detrend_inputs():
1717
mandatory=True,
1818
position=-1,
1919
),
20+
num_threads=dict(nohash=True,
21+
usedefault=True,
22+
),
2023
out_file=dict(argstr='-prefix %s',
2124
name_source='in_file',
2225
name_template='%s_detrend',

nipype/interfaces/afni/tests/test_auto_Dot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ def test_Dot_inputs():
3535
),
3636
mrange=dict(argstr='-mrange %s %s',
3737
),
38+
num_threads=dict(nohash=True,
39+
usedefault=True,
40+
),
3841
out_file=dict(argstr=' |& tee %s',
3942
position=-1,
4043
),

nipype/interfaces/afni/tests/test_auto_ECM.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def test_ECM_inputs():
3333
),
3434
memory=dict(argstr='-memory %f',
3535
),
36+
num_threads=dict(nohash=True,
37+
usedefault=True,
38+
),
3639
out_file=dict(argstr='-prefix %s',
3740
name_source=['in_file'],
3841
name_template='%s_afni',

nipype/interfaces/afni/tests/test_auto_Edge3.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def test_Edge3_inputs():
2828
nscale=dict(argstr='-nscale',
2929
xor=['fscale', 'gscale', 'scale_floats'],
3030
),
31+
num_threads=dict(nohash=True,
32+
usedefault=True,
33+
),
3134
out_file=dict(argstr='-prefix %s',
3235
position=-1,
3336
),

nipype/interfaces/afni/tests/test_auto_Eval.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def test_Eval_inputs():
2626
in_file_c=dict(argstr='-c %s',
2727
position=2,
2828
),
29+
num_threads=dict(nohash=True,
30+
usedefault=True,
31+
),
2932
other=dict(argstr='',
3033
),
3134
out1D=dict(argstr='-1D',

nipype/interfaces/afni/tests/test_auto_Fim.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def test_Fim_inputs():
2424
mandatory=True,
2525
position=1,
2626
),
27+
num_threads=dict(nohash=True,
28+
usedefault=True,
29+
),
2730
out=dict(argstr='-out %s',
2831
position=4,
2932
),

nipype/interfaces/afni/tests/test_auto_Fourier.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def test_Fourier_inputs():
2323
lowpass=dict(argstr='-lowpass %f',
2424
mandatory=True,
2525
),
26+
num_threads=dict(nohash=True,
27+
usedefault=True,
28+
),
2629
out_file=dict(argstr='-prefix %s',
2730
name_source='in_file',
2831
name_template='%s_fourier',

nipype/interfaces/afni/tests/test_auto_LFCD.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def test_LFCD_inputs():
2323
),
2424
mask=dict(argstr='-mask %s',
2525
),
26+
num_threads=dict(nohash=True,
27+
usedefault=True,
28+
),
2629
out_file=dict(argstr='-prefix %s',
2730
name_source=['in_file'],
2831
name_template='%s_afni',

nipype/interfaces/afni/tests/test_auto_MaskTool.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ def test_MaskTool_inputs():
3535
),
3636
inter=dict(argstr='-inter',
3737
),
38+
num_threads=dict(nohash=True,
39+
usedefault=True,
40+
),
3841
out_file=dict(argstr='-prefix %s',
3942
name_source='in_file',
4043
name_template='%s_mask',

nipype/interfaces/afni/tests/test_auto_Maskave.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def test_Maskave_inputs():
2020
mask=dict(argstr='-mask %s',
2121
position=1,
2222
),
23+
num_threads=dict(nohash=True,
24+
usedefault=True,
25+
),
2326
out_file=dict(argstr='> %s',
2427
keep_extension=True,
2528
name_source='in_file',

nipype/interfaces/afni/tests/test_auto_Means.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ def test_Means_inputs():
2929
),
3030
non_zero=dict(argstr='-non_zero',
3131
),
32+
num_threads=dict(nohash=True,
33+
usedefault=True,
34+
),
3235
out_file=dict(argstr='-prefix %s',
3336
name_source='in_file_a',
3437
name_template='%s_mean',

nipype/interfaces/afni/tests/test_auto_Merge.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ def test_Merge_inputs():
2222
mandatory=True,
2323
position=-1,
2424
),
25+
num_threads=dict(nohash=True,
26+
usedefault=True,
27+
),
2528
out_file=dict(argstr='-prefix %s',
2629
name_source='in_file',
2730
name_template='%s_merge',

nipype/interfaces/afni/tests/test_auto_Notes.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def test_Notes_inputs():
2424
mandatory=True,
2525
position=-1,
2626
),
27+
num_threads=dict(nohash=True,
28+
usedefault=True,
29+
),
2730
out_file=dict(argstr='%s',
2831
),
2932
outputtype=dict(),

nipype/interfaces/afni/tests/test_auto_Qwarp.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def test_Qwarp_inputs():
9898
),
9999
noweight=dict(argstr='-noweight',
100100
),
101+
num_threads=dict(nohash=True,
102+
usedefault=True,
103+
),
101104
out_file=dict(argstr='-prefix %s',
102105
genfile=True,
103106
name_source=['in_file'],

nipype/interfaces/afni/tests/test_auto_Remlfit.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ def test_Remlfit_inputs():
5757
),
5858
nofdr=dict(argstr='-noFDR',
5959
),
60+
num_threads=dict(nohash=True,
61+
usedefault=True,
62+
),
6063
obeta=dict(argstr='-Obeta %s',
6164
),
6265
obuck=dict(argstr='-Obuck %s',

nipype/interfaces/afni/tests/test_auto_Resample.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def test_Resample_inputs():
1919
),
2020
master=dict(argstr='-master %s',
2121
),
22+
num_threads=dict(nohash=True,
23+
usedefault=True,
24+
),
2225
orientation=dict(argstr='-orient %s',
2326
),
2427
out_file=dict(argstr='-prefix %s',

nipype/interfaces/afni/tests/test_auto_Retroicor.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def test_Retroicor_inputs():
2424
mandatory=True,
2525
position=-1,
2626
),
27+
num_threads=dict(nohash=True,
28+
usedefault=True,
29+
),
2730
order=dict(argstr='-order %s',
2831
position=-5,
2932
),

nipype/interfaces/afni/tests/test_auto_SVMTest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ def test_SVMTest_inputs():
2626
),
2727
nopredcensord=dict(argstr='-nopredcensord',
2828
),
29+
num_threads=dict(nohash=True,
30+
usedefault=True,
31+
),
2932
options=dict(argstr='%s',
3033
),
3134
out_file=dict(argstr='-predictions %s',

nipype/interfaces/afni/tests/test_auto_SVMTrain.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ def test_SVMTrain_inputs():
3838
),
3939
nomodelmask=dict(argstr='-nomodelmask',
4040
),
41+
num_threads=dict(nohash=True,
42+
usedefault=True,
43+
),
4144
options=dict(argstr='%s',
4245
),
4346
out_file=dict(argstr='-bucket %s',

nipype/interfaces/afni/tests/test_auto_SkullStrip.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ def test_SkullStrip_inputs():
1717
mandatory=True,
1818
position=1,
1919
),
20+
num_threads=dict(nohash=True,
21+
usedefault=True,
22+
),
2023
out_file=dict(argstr='-prefix %s',
2124
name_source='in_file',
2225
name_template='%s_skullstrip',

0 commit comments

Comments
 (0)