Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MPBA
INF
Commits
4515328f
Commit
4515328f
authored
Mar 31, 2020
by
Alessia Marcolini
Browse files
Update runner according to DAP (full or accelerated) arguments
parent
9bee5124
Changes
1
Show whitespace changes
Inline
Side-by-side
runner.sh
View file @
4515328f
...
@@ -16,11 +16,18 @@ N_SPLITS_END=10
...
@@ -16,11 +16,18 @@ N_SPLITS_END=10
RANDOM_LABELS
=
false
RANDOM_LABELS
=
false
snakefile
=
Snakefile_full
if
[[
$1
=
accelerated
]]
then
snakefile
=
Snakefile_accelerated
fi
# go!
# go!
for
((
i
=
$N_SPLITS_START
;
i<
$N_SPLITS_END
;
i++
))
for
((
i
=
$N_SPLITS_START
;
i<
$N_SPLITS_END
;
i++
))
do
do
snakemake
-s
S
nakefile
_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
$s
nakefile
--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
done
if
[
$RANDOM_LABELS
=
true
]
if
[
$RANDOM_LABELS
=
true
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment