Skip to content

Commit fa2ce1e

Browse files
authored
Merge pull request #590 from broadinstitute/dp-fix-terra
hotfix
2 parents b08d46d + 24b2a55 commit fa2ce1e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pipes/WDL/tasks/tasks_terra.wdl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,10 @@ task check_terra_env {
241241
242242
# pretty-print environment details to stdout
243243
# if wraping is desired, add to 'column' command: --output-width 120 --table-wrap 0
244-
echo "=============================================="
245-
find . -maxdepth 1 -type f \( -iname 'RUNNING*' -or -iname '*.txt' \) -exec sh -c 'printf "$(basename $1 .txt)\t$(head -n1 $1)\n"' _ {} \; | sort -k1 -d -t $'\t' | column --separator $'\t' --table --table-right 1 --output-separator $' '
246-
echo "=============================================="
244+
###### disable stdout messages until fixed
245+
#echo "=============================================="
246+
#find . -maxdepth 1 -type f \( -iname 'RUNNING*' -or -iname '*.txt' \) -exec sh -c 'printf "$(basename $1 .txt)\t$(head -n1 $1)\n"' _ {} \; | sort -k1 -d -t $'\t' | column --separator $'\t' --table --table-right 1 --output-separator $' '
247+
#echo "=============================================="
247248
248249
echo -n'' "MEM_BYTES: "; { if [ -f /sys/fs/cgroup/memory.peak ]; then cat /sys/fs/cgroup/memory.peak; elif [ -f /sys/fs/cgroup/memory/memory.max_usage_in_bytes ]; then cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes; else echo "0"; fi } | tee MEM_BYTES
249250
>>>

0 commit comments

Comments
 (0)