projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
18994: Fix for colon characters in filenames
[arvados.git]
/
sdk
/
cwl
/
arvados_cwl
/
pathmapper.py
diff --git
a/sdk/cwl/arvados_cwl/pathmapper.py
b/sdk/cwl/arvados_cwl/pathmapper.py
index e0216aae52b352b2d970fbe7bf13bf14f8668423..d7b535eebdfd84fdc0b65123b53bd77fddb96d81 100644
(file)
--- a/
sdk/cwl/arvados_cwl/pathmapper.py
+++ b/
sdk/cwl/arvados_cwl/pathmapper.py
@@
-166,7
+166,7
@@
class ArvPathMapper(PathMapper):
else:
suffix = loc[len(prefix):]
else:
suffix = loc[len(prefix):]
- if prefix+suffix != prefix+urllib.parse.quote(srcobj["basename"], "/+@"):
+ if
"basename" in srcobj and
prefix+suffix != prefix+urllib.parse.quote(srcobj["basename"], "/+@"):
return True
if srcobj["class"] == "File" and loc not in self._pathmap:
return True
if srcobj["class"] == "File" and loc not in self._pathmap: