comparison 0.4.0/modules/cat/tables/main.nf @ 104:17890124001d

"planemo upload"
author kkonganti
date Sun, 28 Aug 2022 00:37:10 -0400
parents ce6d9548fe89
children
comparison
equal deleted inserted replaced
103:96a34c382154 104:17890124001d
45 "${task.process}": 45 "${task.process}":
46 bash: \$( bash --version 2>&1 | sed '1!d; s/^.*version //; s/ (.*\$//' ) 46 bash: \$( bash --version 2>&1 | sed '1!d; s/^.*version //; s/ (.*\$//' )
47 python: \$( python --version | sed 's/Python //g' ) 47 python: \$( python --version | sed 's/Python //g' )
48 END_VERSIONS 48 END_VERSIONS
49 49
50 headver="" 50 headver=\$( head --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' )
51 tailver="" 51 tailver=\$( tail --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' )
52
53 if [ "${workflow.containerEngine}" != "null" ]; then
54 headver=\$( head --help 2>&1 | sed -e '1!d; s/ (.*\$//' )
55 tailver="\$headver"
56 else
57 headver=\$( head --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' )
58 tailver=\$( tail --version 2>&1 | sed '1!d; s/^.*(GNU coreutils//; s/) //;' )
59 fi
60 52
61 cat <<-END_VERSIONS >> versions.yml 53 cat <<-END_VERSIONS >> versions.yml
62 head: \$headver 54 head: \$headver
63 tail: \$tailver 55 tail: \$tailver
64 END_VERSIONS 56 END_VERSIONS