Skip to content
Kelvin Li edited this page May 9, 2014 · 18 revisions

Command bar examples

Reverse complement via BioPython

    clotho.run2("py_biorc", ["atcgc"])

Access ServerSideAPI

    clotho.run2("py_selfie", [])
    clotho.run2("py_selfsetter", [])

Die at various stages of execution (should expect a run error and a clotho.say message)

    clotho.run2("py_die_early", [])
    clotho.run2("py_die_run", [])

Simulates Python process crashing really hard (shows that Clotho will cleanup properly)

    clotho.run2("py_die_abrupt", [])
Clone this wiki locally