From b334b065b36357dd08099adad9835f4aa7075337 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Tue, 2 Aug 2022 12:25:37 -0400 Subject: [PATCH] 19280: Try this again Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- sdk/cwl/arvados_cwl/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py index 79876008b8..d2486c164b 100644 --- a/sdk/cwl/arvados_cwl/runner.py +++ b/sdk/cwl/arvados_cwl/runner.py @@ -329,7 +329,7 @@ def upload_dependencies(arvrunner, name, document_loader, scanobj = workflowobj if "id" in workflowobj and not workflowobj["id"].startswith("_:"): defrg, _ = urllib.parse.urldefrag(workflowobj["id"]) - if cache is not None and defrg in cache: + if cache is not None and defrg not in cache: # if we haven't seen this file before, want raw file # content (before preprocessing) to ensure that external # references like $include haven't already been inlined. -- 2.30.2