Open GoogleCodeExporter opened 9 years ago
$: ruffus -f pipeline.py
# execute the main pipeline defined in the file pipeline.py
$: ruffus -f pipeline.py --verbose 5
# execute the main pipeline defined in the file pipeline.py, with verbosity=5
$: ruffus -f pipeline.py --print_only
# print all the commands that would be executed in pipeline.py, without
actually executing them
$: ruffus -f pipeline.py --force
# execute the main pipeline defined in the file pipeline.py, and force the
execution of all the task, even the ones that are already up to date.
$: ruffus -f pipeline.py --qsub --qsub_options 'q=medium'
# execute the main pipeline defined in the file pipeline.py, all the commands
are submitted with the qsub system
$: ruffus -f pipeline.py --task hello_world
# execute the task 'hello_world' from the file pipeline.py
Original comment by dalloli...@gmail.com
on 23 Jul 2010 at 9:31
Very seductive idea.
It might be possible to have a qt gui version of the same as well, with on the
fly feedback of the progress.
The <tab> for autocompletion might not be possible under linux, or even Windows.
Have to get my head around the logistics / plumbing for doing this though.
Essentially this "ruffus" programme would be running as the main python script,
and your python script actually turns into a module. Needs a fair bit of
experimentation I think, and I wonder if it might make a difference to have
scripts not running as "main".
In the meantime, the documentation includes a standard template for running
Ruffus, with all the above options. See
http://www.ruffus.org.uk/examples/code_template/code_template.html
It might be worthwhile rolling this functionality into ruffus properly as a
commandline parsing module.
Original comment by bunbu...@gmail.com
on 25 Aug 2010 at 5:26
Original comment by bunbu...@gmail.com
on 14 May 2014 at 10:34
Original issue reported on code.google.com by
dalloli...@gmail.com
on 23 Jul 2010 at 9:18