From: Peter Amstutz Date: Tue, 2 Aug 2022 16:25:37 +0000 (-0400) Subject: 19280: Try this again X-Git-Tag: 2.5.0~103^2~3 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/b334b065b36357dd08099adad9835f4aa7075337 19280: Try this again Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- 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.