Skip to content

Commit 505cf83

Browse files
author
Matthew McEneaney
committed
fix: Rename option more intuitively.
1 parent e747db4 commit 505cf83

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/run-detectors-timelines.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ outputDir=""
1818
numThreads=8
1919
singleTimeline=""
2020
declare -A modes
21-
for key in list build skip-mya focus-timelines focus-qa run-slurm after-slurm submit debug help; do
21+
for key in list build skip-mya focus-timelines focus-qa run-slurm submit-slurm after-slurm debug help; do
2222
modes[$key]=false
2323
done
2424

@@ -69,8 +69,8 @@ usage() {
6969
*** EXECUTION CONTROL OPTIONS: choose only one, or the default will generate a
7070
Slurm job description and print out the suggested \`sbatch\` command
7171
72-
--submit submit the slurm jobs, rather than just
73-
printing the \`sbatch\` command
72+
--submit-slurm submit the slurm jobs, rather than just
73+
printing the \`sbatch\` command
7474
7575
--debug enable debug mode: run a single timeline with stderr and stdout printed to screen;
7676
it is best to use this with the '-t' option to debug specific timeline issues
@@ -364,7 +364,7 @@ EOF
364364
echo """
365365
$sep
366366
"""
367-
if ${modes['submit']}; then
367+
if ${modes['submit-slurm']}; then
368368
echo "SUBMITTING JOBS TO SLURM"
369369
echo $sep
370370
for exe in ${exelist[@]}; do sbatch $exe; done

0 commit comments

Comments
 (0)