Skip to content

Commit

Permalink
remove software var
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Aug 12, 2021
1 parent 70d14aa commit 1ee14e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
"""
Expand All @@ -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 {
Expand All @@ -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
"""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
}

0 comments on commit 1ee14e9

Please sign in to comment.