Commit 0ec974f0 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

abspath in OSS case

parent d50ae7c3
Pipeline #11918 passed with stage
in 0 seconds
...@@ -250,7 +250,7 @@ class Pipeline: ...@@ -250,7 +250,7 @@ class Pipeline:
for rec in dfs_recs_abs: for rec in dfs_recs_abs:
rec["file_path"] = ( rec["file_path"] = (
os.path.join(self.dfs_root, rec["file_path"]) os.path.join(self.dfs_root, rec["file_path"])
if rec["file_path"].__contains__(":") if not rec["file_path"].__contains__(":")
else rec["file_path"] else rec["file_path"]
) )
return dfs_recs_abs return dfs_recs_abs
...@@ -263,7 +263,7 @@ class Pipeline: ...@@ -263,7 +263,7 @@ class Pipeline:
print(ref_name, ref_path) print(ref_name, ref_path)
ccds_refs_abs["refs"][ref_name] = ( ccds_refs_abs["refs"][ref_name] = (
os.path.join(self.ccds_root, ref_path) os.path.join(self.ccds_root, ref_path)
if ref_path["file_path"].__contains__(":") if not ref_path["file_path"].__contains__(":")
else ref_path else ref_path
) )
print(ccds_refs_abs) print(ccds_refs_abs)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment