summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ravanan/workflow.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/ravanan/workflow.scm b/ravanan/workflow.scm
index b531260..d3f2c7b 100644
--- a/ravanan/workflow.scm
+++ b/ravanan/workflow.scm
@@ -189,6 +189,10 @@ their own namespaces."
       ((string=? class "ExpressionTool")
        (error "Workflow class not implemented yet" class))
       ((string=? class "Workflow")
+       (maybe-let* ((requirements (maybe-assoc-ref (just cwl) "requirements")))
+         (check-requirements requirements %supported-requirements))
+       (maybe-let* ((hints (maybe-assoc-ref (just cwl) "hints")))
+         (check-requirements hints %supported-requirements #t))
        workflow-class->propagators)
       (else
        (error "Invalid workflow class" class)))