From 1ee14e9a98608a87391d6b0739950fc85efcff4b Mon Sep 17 00:00:00 2001 From: Mahesh Binzer-Panchal Date: Thu, 12 Aug 2021 11:44:03 +0200 Subject: [PATCH] remove software var --- .../pipeline-template/modules/nf-core/modules/fastqc/main.nf | 5 ++--- .../modules/nf-core/modules/multiqc/main.nf | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nf_core/pipeline-template/modules/nf-core/modules/fastqc/main.nf b/nf_core/pipeline-template/modules/nf-core/modules/fastqc/main.nf index 8becdcb48d..26eb12cdad 100644 --- a/nf_core/pipeline-template/modules/nf-core/modules/fastqc/main.nf +++ b/nf_core/pipeline-template/modules/nf-core/modules/fastqc/main.nf @@ -28,7 +28,6 @@ process FASTQC { script: // Add soft-links to original FastQs for consistent naming in pipeline - def software = getSoftwareName(task.process) def prefix = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}" if (meta.single_end) { """ @@ -37,7 +36,7 @@ process FASTQC { cat <<-END_VERSIONS > versions.yml ${getProcessName(task.process)}: - $software: \$(fastqc --version | sed -e "s/FastQC v//g") + fastqc: \$(fastqc --version | sed -e "s/FastQC v//g") END_VERSIONS """ } else { @@ -48,7 +47,7 @@ process FASTQC { cat <<-END_VERSIONS > versions.yml ${getProcessName(task.process)}: - $software: \$(fastqc --version | sed -e "s/FastQC v//g") + fastqc: \$(fastqc --version | sed -e "s/FastQC v//g") END_VERSIONS """ } diff --git a/nf_core/pipeline-template/modules/nf-core/modules/multiqc/main.nf b/nf_core/pipeline-template/modules/nf-core/modules/multiqc/main.nf index a9ba0fe3a2..65b1e64bb7 100644 --- a/nf_core/pipeline-template/modules/nf-core/modules/multiqc/main.nf +++ b/nf_core/pipeline-template/modules/nf-core/modules/multiqc/main.nf @@ -27,13 +27,12 @@ process MULTIQC { path "versions.yml" , emit: version script: - def software = getSoftwareName(task.process) """ multiqc -f $options.args . cat <<-END_VERSIONS > versions.yml ${getProcessName(task.process)}: - $software: \$(multiqc --version | sed -e "s/multiqc, version //g") + multiqc: \$(multiqc --version | sed -e "s/multiqc, version //g") END_VERSIONS """ }