def _run_recipe(work_dir, recipe_cmds, recipe_type):
    assert recipe_type == "bash", "Can only currently run bash recipes"
    run_file = os.path.join(work_dir, "ggd-run.sh")
    with open(run_file, "w") as out_handle:
        out_handle.write("#!/bin/bash\nset -eu -o pipefail\nexport PATH=%s/bin:$PATH\n" % env.system_install)
        out_handle.write("\n".join(recipe_cmds))
    subprocess.check_output(["bash", run_file])
Create a bash script and run the recipe to download data.
dataset/ETHPy150Open chapmanb/cloudbiolinux/cloudbio/biodata/ggd.py/_run_recipe