Skip to content

Commit

Permalink
Fix sccmec versions file
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjameskennedy committed Jan 29, 2025
1 parent 4c803fa commit 81eddcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextflow-modules/modules/sccmec/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ process sccmec {
cat <<-END_VERSIONS > ${sample_id}_${task.process}_versions.yml
${task.process}:
sccmec:
version: \$(echo \$(sccmec --version 2>&1) | sed -n 's/.*sccmec_targets, version //p')
version: \$(echo \$(sccmec --version 2>&1) | sed -n 's/.*sccmec_targets, version //p' | sed 's/ .*//')
container: ${task.container}
END_VERSIONS
"""
Expand All @@ -33,7 +33,7 @@ process sccmec {
cat <<-END_VERSIONS > ${sample_id}_${task.process}_versions.yml
${task.process}:
sccmec:
version: \$(echo \$(sccmec --version 2>&1) | sed -n 's/.*sccmec_targets, version //p')
version: \$(echo \$(sccmec --version 2>&1) | sed -n 's/.*sccmec_targets, version //p' | sed 's/ .*//')
container: ${task.container}
END_VERSIONS
"""
Expand Down

0 comments on commit 81eddcb

Please sign in to comment.