Skip to content

Commit

Permalink
Changing grep to actually get the version info
Browse files Browse the repository at this point in the history
  • Loading branch information
DLBPointon committed Dec 9, 2024
1 parent 4a1b70f commit 84b1bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/extract_repeat.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ process EXTRACT_REPEAT {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
perl: \$(echo \$(perl --version 2>&1) | sed 's/^.*perl //; s/Using.*\$//')
perl: \$(echo \$(perl --version 2>&1 | grep -oP '\(v\K[^\)]+')
extract_repeat.pl: $VERSION
END_VERSIONS
"""
Expand Down

0 comments on commit 84b1bce

Please sign in to comment.