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
469c08f8
Commit
469c08f8
authored
Nov 06, 2022
by
BO ZHANG
🏀
Browse files
tweaks
parent
d593a671
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
469c08f8
...
@@ -252,8 +252,8 @@ class CsstMsDataManager:
...
@@ -252,8 +252,8 @@ class CsstMsDataManager:
# parse info
# parse info
_telescope
,
_instrument
,
_survey
,
_imagetype
,
\
_telescope
,
_instrument
,
_survey
,
_imagetype
,
\
_exp_start
,
_exp_stop
,
_exp_id
,
\
_exp_start
,
_exp_stop
,
_exp_id
,
\
_detector
,
*
_l0_post
,
_ext
=
re
.
split
(
r
"[_.]"
,
fps_img
[
0
])
_detector
,
*
_l0_post
,
_ext
=
re
.
split
(
r
"[_.]"
,
fps_img
[
0
])
_exp_start
=
int
(
_exp_start
)
_exp_start
=
int
(
_exp_start
)
_exp_stop
=
int
(
_exp_stop
)
_exp_stop
=
int
(
_exp_stop
)
...
...
csst_common/utils/_io.py
View file @
469c08f8
...
@@ -13,7 +13,3 @@ def remove_dir(path=""):
...
@@ -13,7 +13,3 @@ def remove_dir(path=""):
""" Remove the specified directory. """
""" Remove the specified directory. """
if
os
.
path
.
exists
(
path
):
if
os
.
path
.
exists
(
path
):
shutil
.
rmtree
(
path
)
shutil
.
rmtree
(
path
)
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