From 6b6b04361e40185c0203b6b99d2fb5df9538557e Mon Sep 17 00:00:00 2001 From: Wes Bonelli Date: Thu, 29 Jul 2021 16:47:22 -0400 Subject: [PATCH] only show inputs submitted/completed in task view if input kind is files or file --- plantit/front_end/src/components/tasks/task.vue | 4 ++-- plantit/plantit/utils.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/plantit/front_end/src/components/tasks/task.vue b/plantit/front_end/src/components/tasks/task.vue index 400dd27a..611b358c 100644 --- a/plantit/front_end/src/components/tasks/task.vue +++ b/plantit/front_end/src/components/tasks/task.vue @@ -685,7 +685,7 @@ getTask.inputs_detected " >{{ getTask.inputs_submitted }}/{{ @@ -709,7 +709,7 @@ getTask.inputs_detected " >{{ getTask.inputs_completed }}/{{ diff --git a/plantit/plantit/utils.py b/plantit/plantit/utils.py index 480594ed..0cc77af5 100644 --- a/plantit/plantit/utils.py +++ b/plantit/plantit/utils.py @@ -951,6 +951,7 @@ def compose_task_singularity_command( val = str(parameter['value']) print(f"Replacing '{key}' with '{val}'") cmd = cmd.replace(f"${key}", val) + cmd = f"SINGULARITY_${key}={val} " + cmd print(f"Using command: '{cmd}'")