From bc670f2125e83d70a2b8335d4aba130972154835 Mon Sep 17 00:00:00 2001 From: Harshil Patel Date: Wed, 5 Oct 2022 06:43:52 +0100 Subject: [PATCH] Fix lint warnings for samplesheet_check.nf module --- CHANGELOG.md | 2 ++ nf_core/pipeline-template/modules/local/samplesheet_check.nf | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 30aeaa4835..3be0c8e73d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ### Template +- Fix lint warnings for `samplesheet_check.nf` module + ### Linting ### General diff --git a/nf_core/pipeline-template/modules/local/samplesheet_check.nf b/nf_core/pipeline-template/modules/local/samplesheet_check.nf index ccfdfecc2c..03a50c1040 100644 --- a/nf_core/pipeline-template/modules/local/samplesheet_check.nf +++ b/nf_core/pipeline-template/modules/local/samplesheet_check.nf @@ -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 ? @@ -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 {{ name }}/bin/ """ check_samplesheet.py \\