Unverified Commit 0dec5a6e authored by Chris Cheshire's avatar Chris Cheshire Committed by GitHub
Browse files

Merge pull request #14 from luslab/dev

Fix for random pipe failing exit status 141
parents b08c27e7 363faadb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ params {
            suffix        = ".awk"
            publish_dir   = ""
            command       = "'/^[^#]/{print}'"
            command2      = "| head -2 | sed 's/\\t/,/g' - | sed 's/.*/\\L&/g' -"
            command2      = " > int1.txt && head -2 int1.txt > int2.txt && sed 's/\\t/,/g' int2.txt > int3.txt && sed 's/.*/\\L&/g' int3.txt "
            publish_files = false
        }
        "awk_dt_frag" {
+1 −1
Original line number Diff line number Diff line
@@ -33,6 +33,6 @@ process AWK {
    def ext   = options.ext ? "${options.ext}" : "txt"
    """
    awk $options.args $options.command $input $options.command2 > ${prefix}.awk.${ext}
    echo \$(awk --version 2>&1) | sed 's/^.*version //;' > ${software}.version.txt
    awk -W version | head -n 1 | egrep -o "([0-9]{1,}\\.)+[0-9]{1,}" > ${software}.version.txt
    """
}
+1 −1
Original line number Diff line number Diff line
@@ -30,6 +30,6 @@ process AWK_SCRIPT {
    def prefix   = options.suffix ? "${meta.id}${options.suffix}" : "${meta.id}"
    """
    awk $options.args -f $script $input > ${prefix}.awk.txt
    echo \$(awk --version 2>&1) | sed 's/^.*version //;' > ${software}.version.txt
    awk -W version | head -n 1 | egrep -o "([0-9]{1,}\\.)+[0-9]{1,}" > ${software}.version.txt
    """
}