[ARVADOS] updated: 921d4321201be7542f9198202f75ba39c3f83d3f

Git user git at public.curoverse.com
Thu Apr 6 15:45:46 EDT 2017


Summary of changes:
 sdk/cwl/arvados_cwl/pathmapper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  921d4321201be7542f9198202f75ba39c3f83d3f (commit)
      from  7ce46899b5ed250aa909fa240b6be3e01637fb79 (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 921d4321201be7542f9198202f75ba39c3f83d3f
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Apr 6 15:43:38 2017 -0400

    11423: Restore check to use pdh_path because it is only supposed to match Files
    references.

diff --git a/sdk/cwl/arvados_cwl/pathmapper.py b/sdk/cwl/arvados_cwl/pathmapper.py
index 7884614..713162f 100644
--- a/sdk/cwl/arvados_cwl/pathmapper.py
+++ b/sdk/cwl/arvados_cwl/pathmapper.py
@@ -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

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list