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
2ce89055
Commit
2ce89055
authored
Nov 21, 2022
by
BO ZHANG
🏀
Browse files
tweaks
parent
8b93faa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
2ce89055
...
...
@@ -587,10 +587,11 @@ class CsstMsDataManager:
os
.
mkdir
(
dir_l0
)
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
(
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"
:
...
...
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