Skip to content

Commit

Permalink
Remove AUGUR_RECURSION_LIMIT
Browse files Browse the repository at this point in the history
The AUGUR_RECURSION_LIMIT is set to 10,000 by default since Augur 22.0.0
and the workflow's minimum required Augur version is now 22.0.1¹

¹ https://github.com/nextstrain/ncov/blob/d34a0cf67890fc6b33e003247b90e900ac02c80c/workflow/envs/nextstrain.yaml#L7
  • Loading branch information
joverlee521 committed Aug 9, 2023
1 parent d34a0cf commit 220ae2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
4 changes: 0 additions & 4 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@ from collections import OrderedDict
import textwrap
import time

# Set the maximum recursion limit globally for all shell commands, to avoid
# issues with large trees crashing the workflow. Preserve Snakemake's default
# use of Bash's "strict mode", as we rely on that behaviour.
shell.prefix("set -euo pipefail; export AUGUR_RECURSION_LIMIT=10000; ")

# Store the user's configuration prior to loading defaults, so we can check for
# reused subsampling scheme names in the user's config. We need to make a deep
Expand Down
5 changes: 1 addition & 4 deletions nextstrain_profiles/nextstrain-scicore/submit.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
#!/bin/sh

#SBATCH --output=log/%j.out # where to store the output ( %j is the JOBID )
#SBATCH --error=log/%j.err # where to store error messages

# activate conda environment
source /scicore/home/neher/neher/miniconda3/etc/profile.d/conda.sh
conda activate nextstrain
export AUGUR_MINIFY_JSON=1
export AUGUR_RECURSION_LIMIT=10000

{exec_job}


0 comments on commit 220ae2e

Please sign in to comment.