Skip to content

[ENH] Minor Xvfb and MultiProcPlugin cleanups #2211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 6, 2017
Merged
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
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_ABoverlap.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def test_ABoverlap_inputs():
),
no_automask=dict(argstr='-no_automask',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr=' |& tee %s',
position=-1,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_AFNICommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ def test_AFNICommand_inputs():
ignore_exception=dict(nohash=True,
usedefault=True,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source=['in_file'],
name_template='%s_afni',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_AFNIPythonCommand.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ def test_AFNIPythonCommand_inputs():
ignore_exception=dict(nohash=True,
usedefault=True,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source=['in_file'],
name_template='%s_afni',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_AFNItoNIFTI.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def test_AFNItoNIFTI_inputs():
newid=dict(argstr='-newid',
xor=['oldid'],
),
num_threads=dict(nohash=True,
usedefault=True,
),
oldid=dict(argstr='-oldid',
xor=['newid'],
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Allineate.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ def test_Allineate_inputs():
),
nomask=dict(argstr='-nomask',
),
num_threads=dict(nohash=True,
usedefault=True,
),
nwarp=dict(argstr='-nwarp %s',
),
nwarp_fixdep=dict(argstr='-nwarp_fixdep%s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_AutoTcorrelate.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def test_AutoTcorrelate_inputs():
mask_source=dict(argstr='-mask_source %s',
xor=['mask_only_targets'],
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_similarity_matrix.1D',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Autobox.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def test_Autobox_inputs():
),
no_clustering=dict(argstr='-noclust',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_autobox',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Automask.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def test_Automask_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_mask',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Axialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def test_Axialize_inputs():
mandatory=True,
position=-2,
),
num_threads=dict(nohash=True,
usedefault=True,
),
orientation=dict(argstr='-orient %s',
),
out_file=dict(argstr='-prefix %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Bandpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def test_Bandpass_inputs():
),
notrans=dict(argstr='-notrans',
),
num_threads=dict(nohash=True,
usedefault=True,
),
orthogonalize_dset=dict(argstr='-dsort %s',
),
orthogonalize_file=dict(argstr='-ort %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_BlurInMask.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def test_BlurInMask_inputs():
),
multimask=dict(argstr='-Mmask %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
options=dict(argstr='%s',
position=2,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_BlurToFWHM.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def test_BlurToFWHM_inputs():
),
mask=dict(argstr='-blurmaster %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source=['in_file'],
name_template='%s_afni',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Bucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ def test_Bucket_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_template='buck',
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def test_Calc_inputs():
in_file_c=dict(argstr='-c %s',
position=2,
),
num_threads=dict(nohash=True,
usedefault=True,
),
other=dict(argstr='',
),
out_file=dict(argstr='-prefix %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ def test_Cat_inputs():
),
keepfree=dict(argstr='-nonfixed',
),
num_threads=dict(nohash=True,
usedefault=True,
),
omitconst=dict(argstr='-nonconst',
),
out_cint=dict(xor=['out_format', 'out_nice', 'out_double', 'out_fint', 'out_int'],
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_CatMatvec.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def test_CatMatvec_inputs():
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.",
xor=['oneline', 'fourxfour'],
),
num_threads=dict(nohash=True,
usedefault=True,
),
oneline=dict(argstr='-ONELINE',
descr='indicates that the resulting matrixwill simply be written as 12 numbers on one line.',
xor=['matrix', 'fourxfour'],
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_Copy_inputs():
mandatory=True,
position=-2,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='%s',
name_source='in_file',
name_template='%s_copy',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Deconvolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ def test_Deconvolve_inputs():
num_stimts=dict(argstr='-num_stimts %d',
position=-6,
),
num_threads=dict(nohash=True,
usedefault=True,
),
ortvec=dict(argstr='ortvec %s',
),
out_file=dict(argstr='-bucket %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_DegreeCentrality.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def test_DegreeCentrality_inputs():
),
mask=dict(argstr='-mask %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
oned_file=dict(argstr='-out1D %s',
),
out_file=dict(argstr='-prefix %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Despike.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_Despike_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_despike',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Detrend.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_Detrend_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_detrend',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Dot.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def test_Dot_inputs():
),
mrange=dict(argstr='-mrange %s %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr=' |& tee %s',
position=-1,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_ECM.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def test_ECM_inputs():
),
memory=dict(argstr='-memory %f',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source=['in_file'],
name_template='%s_afni',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Edge3.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def test_Edge3_inputs():
nscale=dict(argstr='-nscale',
xor=['fscale', 'gscale', 'scale_floats'],
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
position=-1,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def test_Eval_inputs():
in_file_c=dict(argstr='-c %s',
position=2,
),
num_threads=dict(nohash=True,
usedefault=True,
),
other=dict(argstr='',
),
out1D=dict(argstr='-1D',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Fim.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def test_Fim_inputs():
mandatory=True,
position=1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out=dict(argstr='-out %s',
position=4,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Fourier.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def test_Fourier_inputs():
lowpass=dict(argstr='-lowpass %f',
mandatory=True,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_fourier',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_LFCD.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ def test_LFCD_inputs():
),
mask=dict(argstr='-mask %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source=['in_file'],
name_template='%s_afni',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_MaskTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ def test_MaskTool_inputs():
),
inter=dict(argstr='-inter',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_mask',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Maskave.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ def test_Maskave_inputs():
mask=dict(argstr='-mask %s',
position=1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='> %s',
keep_extension=True,
name_source='in_file',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Means.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def test_Means_inputs():
),
non_zero=dict(argstr='-non_zero',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file_a',
name_template='%s_mean',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Merge.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def test_Merge_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_merge',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Notes.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def test_Notes_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='%s',
),
outputtype=dict(),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Qwarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ def test_Qwarp_inputs():
),
noweight=dict(argstr='-noweight',
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
genfile=True,
name_source=['in_file'],
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Remlfit.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def test_Remlfit_inputs():
),
nofdr=dict(argstr='-noFDR',
),
num_threads=dict(nohash=True,
usedefault=True,
),
obeta=dict(argstr='-Obeta %s',
),
obuck=dict(argstr='-Obuck %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Resample.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ def test_Resample_inputs():
),
master=dict(argstr='-master %s',
),
num_threads=dict(nohash=True,
usedefault=True,
),
orientation=dict(argstr='-orient %s',
),
out_file=dict(argstr='-prefix %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_Retroicor.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def test_Retroicor_inputs():
mandatory=True,
position=-1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
order=dict(argstr='-order %s',
position=-5,
),
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_SVMTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ def test_SVMTest_inputs():
),
nopredcensord=dict(argstr='-nopredcensord',
),
num_threads=dict(nohash=True,
usedefault=True,
),
options=dict(argstr='%s',
),
out_file=dict(argstr='-predictions %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_SVMTrain.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def test_SVMTrain_inputs():
),
nomodelmask=dict(argstr='-nomodelmask',
),
num_threads=dict(nohash=True,
usedefault=True,
),
options=dict(argstr='%s',
),
out_file=dict(argstr='-bucket %s',
Expand Down
3 changes: 3 additions & 0 deletions nipype/interfaces/afni/tests/test_auto_SkullStrip.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def test_SkullStrip_inputs():
mandatory=True,
position=1,
),
num_threads=dict(nohash=True,
usedefault=True,
),
out_file=dict(argstr='-prefix %s',
name_source='in_file',
name_template='%s_skullstrip',
Expand Down
Loading