Skip to content

Commit

Permalink
fix conda envs for ngmaster and mykrobe
Browse files Browse the repository at this point in the history
  • Loading branch information
rpetit3 committed Nov 27, 2022
1 parent cf3c85f commit fd12050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/nf-core/mykrobe/predict/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include { get_resources; initOptions; saveFiles } from '../../../../lib/nf/funct
RESOURCES = get_resources(workflow.profile, params.max_memory, params.max_cpus)
options = initOptions(params.options ? params.options : [:], 'mykrobe')
publish_dir = params.is_subworkflow ? "${params.outdir}/bactopia-tools/${params.wf}/${params.run_name}" : params.outdir
conda_tools = "bioconda::mykrobe=0.12.0"
conda_tools = "bioconda::mykrobe=0.12.1"
conda_name = conda_tools.replace("=", "-").replace(":", "-").replace(" ", "-")
conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.condadir}/${conda_name}" : conda_tools

Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/ngmaster/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include { get_resources; initOptions; saveFiles } from '../../../lib/nf/function
RESOURCES = get_resources(workflow.profile, params.max_memory, params.max_cpus)
options = initOptions(params.options ? params.options : [:], 'ngmaster')
publish_dir = params.is_subworkflow ? "${params.outdir}/bactopia-tools/${params.wf}/${params.run_name}" : params.outdir
conda_tools = "bioconda::ngmaster=0.5.8"
conda_tools = "bioconda::ngmaster=0.5.8 conda-forge::python=3.9"
conda_name = conda_tools.replace("=", "-").replace(":", "-").replace(" ", "-")
conda_env = file("${params.condadir}/${conda_name}").exists() ? "${params.condadir}/${conda_name}" : conda_tools

Expand Down

0 comments on commit fd12050

Please sign in to comment.