Upload reproduction/code/driver.sh with huggingface_hub
Browse files123456789101112#!/bin/bash# Driver: run remaining seeds for the Bloeschl 2020 reproduction, 4 in parallel.RUN=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/runMM=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/micromambaexport MAMBA_ROOT_PREFIX=/mnt/wisdisk-prod/agents/c537b088-85fe-4864-9217-e71aa7ca0cce/universal_run-c537b088-85fe-4864-9217-e71aa7ca0cce/work/mambaRootcd "$RUN" || exit 1for s in $(seq 12 60); do [ ! -f "seeds/intrp_cubeSEED$s.RData" ] && echo "$s"done > remaining_seeds.txtecho "remaining: $(wc -l < remaining_seeds.txt) seeds"cat remaining_seeds.txt | xargs -P 4 -I{} sh -c "$MM run -n renv Rscript run_seed.R {} > seedlog_{}.txt 2>&1"echo "ALL_SEEDS_DONE"reproduction/code/driver.shAdded+12