Skip to content

Commit

Permalink
Adding conda-check in stub-section
Browse files Browse the repository at this point in the history
  • Loading branch information
asp8200 committed Aug 1, 2023
1 parent b17835c commit c332c41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/nf-core/basicpy/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c332c41

Please sign in to comment.