Merge branch '10401-limit-dir-expansion' closes #10401
[arvados.git] / sdk / cwl / arvados_cwl / arvcontainer.py
index 0005494e9448fabab3031d93b2a9c2068cfad760..9e76cf711ecaaf81c6e5e42131ea3d717da00c01 100644 (file)
@@ -54,7 +54,7 @@ class ArvadosContainer(object):
 
         dirs = set()
         for f in self.pathmapper.files():
-            pdh, p, tp = self.pathmapper.mapper(f)
+            pdh, p, tp, stg = self.pathmapper.mapper(f)
             if tp == "Directory" and '/' not in pdh:
                 mounts[p] = {
                     "kind": "collection",
@@ -63,7 +63,7 @@ class ArvadosContainer(object):
                 dirs.add(pdh)
 
         for f in self.pathmapper.files():
-            res, p, tp = self.pathmapper.mapper(f)
+            res, p, tp, stg = self.pathmapper.mapper(f)
             if res.startswith("keep:"):
                 res = res[5:]
             elif res.startswith("/keep/"):