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
Liu Dezi
csst_msc_sim
Commits
eec9ba83
Commit
eec9ba83
authored
Apr 19, 2024
by
Fang Yuedong
Browse files
remove pkg_resources warning
parent
24aa9eb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
run_sim.py
View file @
eec9ba83
from
ObservationSim.ObservationSim
import
Observation
from
ObservationSim._util
import
parse_args
,
make_run_dirs
,
generate_pointing_list
from
pkg_resources
import
get_distribut
ion
from
importlib.metadata
import
vers
ion
import
os
import
yaml
import
shutil
...
...
@@ -24,7 +24,7 @@ def run_sim():
None
"""
# Get version of CSSTSim Package
__version__
=
get_distribut
ion
(
"CSSTSim"
)
.
version
__version__
=
vers
ion
(
"CSSTSim"
)
# Get run datetime
now
=
datetime
.
datetime
.
now
()
...
...
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