Skip to content

Commit

Permalink
Switching from exit 1 to error-cmd and correcting error-msg
Browse files Browse the repository at this point in the history
  • Loading branch information
asp8200 committed Aug 1, 2023
1 parent 101f14d commit 026eaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nf-core/cellranger/mkvdjref/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ process CELLRANGER_MKVDJREF {
script:
// Exit if running this module with -profile conda / -profile mamba
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
exit 1, "CELLRANGER_MKREF module does not support Conda. Please use Docker / Singularity / Podman instead."
error "CELLRANGER_MKVDJREF module does not support Conda. Please use Docker / Singularity / Podman instead."
}
def args = task.ext.args ?: ''
"""
Expand Down

0 comments on commit 026eaac

Please sign in to comment.