aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-09-24 14:14:30 +0100
committerArun Isaac2024-10-01 01:12:50 +0100
commitc8926ea4f8cff24482de727c58adf279e880d311 (patch)
tree31d57460bb7efe71aa2e9ab2cda2f5195709110c
parent7b9ac45eecebb454a166990987d80998df1643ca (diff)
downloadravanan-c8926ea4f8cff24482de727c58adf279e880d311.tar.gz
ravanan-c8926ea4f8cff24482de727c58adf279e880d311.tar.lz
ravanan-c8926ea4f8cff24482de727c58adf279e880d311.zip
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.
-rw-r--r--ravanan/workflow.scm5
1 files changed, 1 insertions, 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