Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
0a19af72
Commit
0a19af72
authored
Nov 21, 2022
by
BO ZHANG
🏀
Browse files
in case in dir_l0 or dir_l1
parent
a8584326
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
0a19af72
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment