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

in case in dir_l0 or dir_l1

parent a8584326
......@@ -584,6 +584,7 @@ class CsstMsDataManager:
dfs_root = "/dfsroot"
# (clear and) make directories
os.chdir(os.getenv("HOME")) # in case cwd is in dir_l0 or dir_l1
if os.path.exists(dir_l0):
os.system(f"rm -rf {dir_l0}")
if os.path.exists(dir_l1):
......
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