Skip to content
Snippets Groups Projects
Commit 1c006fda authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

remove references of wait from tests, run.py and documentation

parent 38789e94
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ line tool. It is assumed that the computing cluster is managed by SGE.
Example usage, building a short pipeline::
from fsl.utils.fslsub import submit, wait
from fsl.utils.fslsub import submit
# submits bet to veryshort queue unless <mask_filename> already exists
bet_job = submit('bet <input_filename> -m',
......@@ -26,16 +26,12 @@ Example usage, building a short pipeline::
wait_for=(bet_job, other_job),
queue='cuda.q')
# waits for the cuda job to finish
wait(cuda_job)
.. autosummary::
:nosignatures:
submit
info
output
wait
func_to_cmd
"""
......
......@@ -15,7 +15,6 @@
run
runfsl
wait
dryrun
"""
......@@ -423,8 +422,3 @@ def wslcmd(cmdpath, *args):
else:
# Command was not found in WSL with this path
return None
def wait(job_ids):
"""Proxy for :func:`.fslsub.wait`. """
return fslsub.wait(job_ids)
......@@ -101,7 +101,6 @@ def test_submit():
os.chmod(cmd, 0o755)
jid = fslsub.submit(cmd)
fslsub.wait(jid)
stdout, stderr = fslsub.output(jid)
assert stdout.strip() == 'standard output'
......@@ -184,8 +183,6 @@ def test_func_to_cmd():
cmd = fslsub.func_to_cmd(myfunc, (), {})
jid = fslsub.submit(cmd)
fslsub.wait(jid)
stdout, stderr = fslsub.output(jid)
assert stdout.strip() == 'standard output'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment