From c8926ea4f8cff24482de727c58adf279e880d311 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 24 Sep 2024 14:14:30 +0100 Subject: workflow: Use bound variables instead of calling getters again. * ravanan/workflow.scm (workflow-scheduler)[schedule]: Use bound variables name and cwl instead of calling getters scheduler-proc-name and scheduler-proc-cwl again. --- ravanan/workflow.scm | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ravanan/workflow.scm b/ravanan/workflow.scm index ff90dca..bbea430 100644 --- a/ravanan/workflow.scm +++ b/ravanan/workflow.scm @@ -283,10 +283,7 @@ job state object." (apply vector-map (lambda input-elements ;; Recurse with scattered inputs spliced in. - (schedule (scheduler-proc (scheduler-proc-name proc) - (scheduler-proc-cwl proc) - %nothing - %nothing) + (schedule (scheduler-proc name cwl %nothing %nothing) ;; Replace scattered inputs with single ;; elements. (apply assoc-set -- cgit v1.2.3