Commit 4515328f authored by Alessia Marcolini's avatar Alessia Marcolini
Browse files

Update runner according to DAP (full or accelerated) arguments

parent 9bee5124
......@@ -16,11 +16,18 @@ N_SPLITS_END=10
RANDOM_LABELS=false
snakefile=Snakefile_full
if [[ $1 = accelerated ]]
then
snakefile=Snakefile_accelerated
fi
# go!
for (( i=$N_SPLITS_START; i<$N_SPLITS_END; i++ ))
do
snakemake -s Snakefile_split --cores $CORES --config datafolder=$DATAFOLDER outfolder=$OUTFOLDER dataset=$DATASET target=$TARGET layer1=$LAYER1 layer2=$LAYER2 layer3=$LAYER3 model=$MODEL random=$RANDOM_LABELS split_id=$i -p
snakemake -s $snakefile --cores $CORES --config datafolder=$DATAFOLDER outfolder=$OUTFOLDER dataset=$DATASET target=$TARGET layer1=$LAYER1 layer2=$LAYER2 layer3=$LAYER3 model=$MODEL random=$RANDOM_LABELS split_id=$i -p --dryrun
done
if [ $RANDOM_LABELS = true ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment