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-sims
csst_cpic_sim
Commits
700cc2ee
Commit
700cc2ee
authored
May 08, 2024
by
GZhao
Browse files
fix a small bug
parent
3d42fff7
Pipeline
#4366
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_main.py
View file @
700cc2ee
...
@@ -14,7 +14,7 @@ import io
...
@@ -14,7 +14,7 @@ import io
import
shutil
import
shutil
def
clear_output
():
def
clear_output
():
if
os
.
path
.
exists
(
output
)
if
os
.
path
.
exists
(
output
)
:
shutil
.
rmtree
(
output
)
shutil
.
rmtree
(
output
)
os
.
mkdir
(
output
)
os
.
mkdir
(
output
)
...
...
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