This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.tools.expressions.script

import os

EXPRESSION_SCRIPT_NAME = "_evaluate_expression_.py"

[docs]def write_evalute_script(in_directory): """Responsible for writing the script that evaluates expressions in Galaxy jobs. """ script = os.path.join(in_directory, EXPRESSION_SCRIPT_NAME) with open(script, "w") as f: f.write("from galaxy_ext.expressions.handle_job import run; run()") return script