From bf89a491ab3045e1557dc9bcefe189525da81575 Mon Sep 17 00:00:00 2001 From: Nico Matentzoglu Date: Fri, 26 Jan 2024 10:13:23 +0200 Subject: [PATCH 1/2] Update printput during debug mode `IMAGE` parameter does not exist anymore --- template/src/ontology/run.sh.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/src/ontology/run.sh.jinja2 b/template/src/ontology/run.sh.jinja2 index eef8eb1f..cc761228 100755 --- a/template/src/ontology/run.sh.jinja2 +++ b/template/src/ontology/run.sh.jinja2 @@ -74,7 +74,7 @@ if [ x$ODK_DEBUG = xyes ]; then # If you wish to change the format string, take care of using # non-breaking spaces (U+00A0) instead of normal spaces, to # prevent the shell from tokenizing the format string. - echo "Running ${IMAGE} with ${ODK_JAVA_OPTS} of memory for ROBOT and Java-based pipeline steps." + echo "Running obolibrary/${ODK_IMAGE}:${ODK_TAG} with ${ODK_JAVA_OPTS} of memory for ROBOT and Java-based pipeline steps." TIMECMD="/usr/bin/time -f ### DEBUG STATS ###\nElapsed time: %E\nPeak memory: %M kb" fi rm -f tmp/debug.log From f91d519b7dfdeb627161b2f2865ec0505c579efd Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Fri, 26 Jan 2024 13:49:10 +0000 Subject: [PATCH 2/2] Fix phrasing of debug message in wrapper script. Co-authored-by: Nico Matentzoglu --- template/src/ontology/run.sh.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/src/ontology/run.sh.jinja2 b/template/src/ontology/run.sh.jinja2 index cc761228..56e0122a 100755 --- a/template/src/ontology/run.sh.jinja2 +++ b/template/src/ontology/run.sh.jinja2 @@ -74,7 +74,7 @@ if [ x$ODK_DEBUG = xyes ]; then # If you wish to change the format string, take care of using # non-breaking spaces (U+00A0) instead of normal spaces, to # prevent the shell from tokenizing the format string. - echo "Running obolibrary/${ODK_IMAGE}:${ODK_TAG} with ${ODK_JAVA_OPTS} of memory for ROBOT and Java-based pipeline steps." + echo "Running obolibrary/${ODK_IMAGE}:${ODK_TAG} with '${ODK_JAVA_OPTS}' as options for ROBOT and other Java-based pipeline steps." TIMECMD="/usr/bin/time -f ### DEBUG STATS ###\nElapsed time: %E\nPeak memory: %M kb" fi rm -f tmp/debug.log