diff --git a/modules/local/make_report.nf b/modules/local/make_report.nf index 0323239..68d0cf6 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 MAKE_REPORT 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)