11423: Restore check to use pdh_path because it is only supposed to match Files
authorPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 6 Apr 2017 19:43:38 +0000 (15:43 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Thu, 6 Apr 2017 19:43:38 +0000 (15:43 -0400)
references.

sdk/cwl/arvados_cwl/pathmapper.py

index 7884614635766fe2144aaf40578276e215667a05..713162f66ac8db6593161990b979d170247f9283 100644 (file)
@@ -33,7 +33,7 @@ class ArvPathMapper(PathMapper):
         if srcobj["class"] == "File":
             if "#" in src:
                 src = src[:src.index("#")]
-            if isinstance(src, basestring) and ArvPathMapper.pdh_dirpath.match(src):
+            if isinstance(src, basestring) and ArvPathMapper.pdh_path.match(src):
                 self._pathmap[src] = MapperEnt(src, self.collection_pattern % src[5:], "File")
             if src not in self._pathmap:
                 # Local FS ref, may need to be uploaded or may be on keep