Loading csst_common/ccds/ccds.py +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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: Loading Loading
csst_common/ccds/ccds.py +2 −1 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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: Loading