Commit 7c008646 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

remove references

parent 943e120c
Pipeline #7146 passed with stage
......@@ -8,6 +8,7 @@ Modified-History:
2023-07-08, Bo Zhang, created
2023-12-15, Bo Zhang, add module header
"""
import os
from ccds import client
......@@ -87,7 +88,7 @@ class CCDS:
for ref_type in refs.keys():
d = client.api.get_file_info(self.operational_context, refs[ref_type])
if d:
fp = os.path.join(self.ccds_root, "references", d["file_path"])
fp = os.path.join(self.ccds_root, d["file_path"])
assert os.path.exists(fp), f"File path [{fp}] does not exist!"
refs_fp[ref_type] = fp
else:
......
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