From 31c1dabda3d164b2dfe094416cdeef6f12e3c309 Mon Sep 17 00:00:00 2001 From: JoseEspinosa Date: Thu, 30 May 2024 11:31:04 +0200 Subject: [PATCH 1/2] Update how image is set --- modules/local/make_report.nf | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/local/make_report.nf b/modules/local/make_report.nf index 0323239..1e30ed1 100644 --- a/modules/local/make_report.nf +++ b/modules/local/make_report.nf @@ -2,9 +2,12 @@ process MAKE_REPORT { tag "$meta.id" label 'process_single' - container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? - 'docker://itrujnara/orthologs-report:1.0.0' : - 'itrujnara/orthologs-report:1.0.0' }" + // Exit if running this module with -profile conda / -profile mamba + if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) { + error("Local RUN_ALPHAFOLD2_MSA module does not support Conda. Please use Docker / Singularity / Podman instead.") + } + + container "itrujnara/orthologs-report:1.0.0" input: tuple val(meta), path(id), path(taxid), path(exact), path(score_table), path(filtered_hits), path(support_plot), path(venn_plot), path(jaccard_plot), path(orthostats), path(seq_hits), path(seq_misses), path(str_hits), path(str_misses), path(alignment), path(iqtree), path(fastme), path(params_file) From 97a30082f3712206f6458ff97e971baf33c9339f Mon Sep 17 00:00:00 2001 From: Jose Espinosa-Carrasco Date: Thu, 30 May 2024 12:54:01 +0200 Subject: [PATCH 2/2] Update modules/local/make_report.nf --- modules/local/make_report.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/local/make_report.nf b/modules/local/make_report.nf index 1e30ed1..68d0cf6 100644 --- a/modules/local/make_report.nf +++ b/modules/local/make_report.nf @@ -4,7 +4,7 @@ process MAKE_REPORT { // Exit if running this module with -profile conda / -profile mamba if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) { - error("Local RUN_ALPHAFOLD2_MSA module does not support Conda. Please use Docker / Singularity / Podman instead.") + error("Local MAKE_REPORT module does not support Conda. Please use Docker / Singularity / Podman instead.") } container "itrujnara/orthologs-report:1.0.0"