Skip to content

Commit

Permalink
Add label and when condition to samplesheet_check local module
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Sep 28, 2022
1 parent 34b061e commit 016bf45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/local/samplesheet_check.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
process SAMPLESHEET_CHECK {
tag "$samplesheet"
label 'process_single'

conda (params.enable_conda ? "conda-forge::python=3.8.3" : null)
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand All @@ -13,6 +14,9 @@ process SAMPLESHEET_CHECK {
path '*.csv' , emit: csv
path "versions.yml", emit: versions

when:
task.ext.when == null || task.ext.when

script: // This script is bundled with the pipeline, in nf-core/methylseq/bin/
// def reference = params.fasta ? "--genome ${params.fasta}" : ""
"""
Expand Down

0 comments on commit 016bf45

Please sign in to comment.