From df2f836528899ae50ee4a07b10c47d5d08f59366 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 10 Aug 2018 10:30:55 -0400 Subject: [PATCH] 13976: Add code comment about only_real in upload_dependencies Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- sdk/cwl/arvados_cwl/runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py index 79be881912..29c0535d93 100644 --- a/sdk/cwl/arvados_cwl/runner.py +++ b/sdk/cwl/arvados_cwl/runner.py @@ -129,6 +129,8 @@ def upload_dependencies(arvrunner, name, document_loader, sc = [] def only_real(obj): + # Only interested in local files than need to be uploaded, + # don't include file literals, keep references, etc. if obj.get("location", "").startswith("file:"): sc.append(obj) -- 2.30.2