Skip to content

Commit

Permalink
fix version reporting (genomic-medicine-sweden#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen31 authored Apr 17, 2024
1 parent 3ebc4e8 commit d293da8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions modules/local/fqcrs.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ process FQCRS {
tag "$meta.id"
label 'process_single'

container "docker.io/fellen31/fqcrs:latest"
container "docker.io/fellen31/fqcrs:0.1.0"
// Add verion manually
def fqcrs_version = '0.1.0'

// Exit if running this module with -profile conda / -profile mamba
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
Expand All @@ -28,7 +30,7 @@ process FQCRS {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
fqcrs: \$(echo "no-version" )
fqcrs: \$(echo "$fqcrs_version" )
END_VERSIONS
"""
}
Expand Down
2 changes: 1 addition & 1 deletion modules/local/pacbio/hificnv/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ process HIFICNV {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
hificnv: \$(echo \$(cramino -V) | sed 's/cramino //' )
hificnv: \$(echo \$(hificnv -V) | sed 's/hificnv //' )
END_VERSIONS
"""
}
Expand Down
2 changes: 1 addition & 1 deletion modules/local/sniffles/multisample.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ process SNIFFLES_MULTISAMPLE {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
sniffles_multisample: \$(sniffles --help 2>&1 | grep Version |sed 's/^.*Version: //')
sniffles_multisample: \$(sniffles --help 2>&1 | grep Version |sed 's/^.*Version //')
END_VERSIONS
"""
}

0 comments on commit d293da8

Please sign in to comment.