mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
Add stub run to gunzip module (#1849)
This commit is contained in:
parent
92c420e7d0
commit
fa37e06626
1 changed files with 10 additions and 0 deletions
|
@ -31,4 +31,14 @@ process GUNZIP {
|
|||
gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//')
|
||||
END_VERSIONS
|
||||
"""
|
||||
|
||||
stub:
|
||||
gunzip = archive.toString() - '.gz'
|
||||
"""
|
||||
touch $gunzip
|
||||
cat <<-END_VERSIONS > versions.yml
|
||||
"${task.process}":
|
||||
gunzip: \$(echo \$(gunzip --version 2>&1) | sed 's/^.*(gzip) //; s/ Copyright.*\$//')
|
||||
END_VERSIONS
|
||||
"""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue