diff --git a/modules/nf-core/basicpy/main.nf b/modules/nf-core/basicpy/main.nf index f129e54ba1a..cfcf9ac1ae8 100644 --- a/modules/nf-core/basicpy/main.nf +++ b/modules/nf-core/basicpy/main.nf @@ -32,6 +32,10 @@ process BASICPY { """ stub: + // Exit if running this module with -profile conda / -profile mamba + if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) { + error "Basicpy module does not support Conda. Please use Docker / Singularity instead." + } """ touch ${prefix}.-dfp.tiff touch ${prefix}.-dfp.tiff