Commit 2ce89055 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent 8b93faa3
...@@ -587,10 +587,11 @@ class CsstMsDataManager: ...@@ -587,10 +587,11 @@ class CsstMsDataManager:
os.mkdir(dir_l0) os.mkdir(dir_l0)
os.mkdir(dir_l1) os.mkdir(dir_l1)
for i_rec in range(len(tbl)): # make symbolic links print("Making symbolic links ...")
for i_rec in range(len(tbl)):
os.symlink( os.symlink(
src=os.path.join(dir_l0, tbl["file_path"][i_rec]), src=os.path.join(dir_l0, tbl["file_path"][i_rec]),
dst=os.path.join(dfs_root, tbl["file_path"][i_rec]), dst=os.path.join(dfs_root, os.path.basename(tbl["file_path"][i_rec])),
) )
if datatype == "mbi": if datatype == "mbi":
......
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