[ARVADOS] updated: 511e36db2a5ed0380752d15e9c60364483d0e9f0
Git user
git at public.curoverse.com
Mon Sep 19 11:35:24 EDT 2016
Summary of changes:
sdk/cwl/arvados_cwl/runner.py | 14 +++++++++++++-
sdk/cwl/setup.py | 2 +-
2 files changed, 14 insertions(+), 2 deletions(-)
via 511e36db2a5ed0380752d15e9c60364483d0e9f0 (commit)
from b810854ddeccc8fff3ac718e8085a4cafb7f6b86 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 511e36db2a5ed0380752d15e9c60364483d0e9f0
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon Sep 19 11:35:17 2016 -0400
10088: Bump cwltool dependency for another bugfix to scandeps.
diff --git a/sdk/cwl/arvados_cwl/runner.py b/sdk/cwl/arvados_cwl/runner.py
index 570675b..155c6a0 100644
--- a/sdk/cwl/arvados_cwl/runner.py
+++ b/sdk/cwl/arvados_cwl/runner.py
@@ -25,6 +25,18 @@ cwltool.draft2tool.ACCEPTLIST_RE = re.compile(r"^[a-zA-Z0-9._+-]+$")
def upload_dependencies(arvrunner, name, document_loader,
workflowobj, uri, loadref_run):
+ """Upload the dependencies of the workflowobj document to Keep.
+
+ Returns a pathmapper object mapping local paths to keep references. Also
+ does an in-place update of references in "workflowobj".
+
+ Use scandeps to find $import, $include, $schemas, run, File and Directory
+ fields that represent external references.
+
+ If workflowobj has an "id" field, this will reload the document to ensure
+ it is scanning the raw document prior to preprocessing.
+ """
+
loaded = set()
def loadref(b, u):
joined = urlparse.urljoin(b, u)
@@ -54,7 +66,7 @@ def upload_dependencies(arvrunner, name, document_loader,
sc = scandeps(uri, scanobj,
loadref_fields,
- set(("$include", "$schemas")),
+ set(("$include", "$schemas", "location")),
loadref)
files = []
diff --git a/sdk/cwl/setup.py b/sdk/cwl/setup.py
index 6922b90..fef9dec 100644
--- a/sdk/cwl/setup.py
+++ b/sdk/cwl/setup.py
@@ -32,7 +32,7 @@ setup(name='arvados-cwl-runner',
# Make sure to update arvados/build/run-build-packages.sh as well
# when updating the cwltool version pin.
install_requires=[
- 'cwltool==1.0.20160918012352',
+ 'cwltool==1.0.20160919152321',
'arvados-python-client>=0.1.20160826210445'
],
data_files=[
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list