Closed rvandewater closed 2 months ago
@rvandewater, use the ACES CLI. See https://gist.github.com/mmcdermott/c48fda0d25be2465cc039d1986be6fd3 for example scripts, either for running locally, in parallel on a single machine, or across slurm cluster nodes. See https://docs.google.com/document/d/1O9phROCjDaPWj6fkrelTkHeYigUXopXsth5hIR93ft4/edit#heading=h.7azw1viitnh for instructions on using that example.
Your actual script will look like:
PATH="$CONDA_PATH:$PATH" aces-cli --multirun \
data=sharded \
data.standard=meds \
data.root="$DATA_DIR" \
"data.shard=$(expand_shards $DATA_DIR)" \
cohort_dir=$COHORT_DIR \
cohort_name=$TASK_NAME
The reason it is important this happens through the CLI is because hydra handles re-mapping ACES jobs out across all the shards -- ACES internally doesn't have any code for going over the different files itself, by design.
Hi!
According to the documentation, it is possible to use a folder as input; however, when I try to use a folder instead of a path it throws the following error:
Script is simple:
Is this desired behaviour?