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

remove references

parent 943e120c
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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: