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_ifs_sim
Commits
49555558
Commit
49555558
authored
Apr 10, 2024
by
Yan Zhaojun
Browse files
update setup.py
parent
7a56d02f
Pipeline
#3965
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_ifs_sim/csst_ifs_sim.py
View file @
49555558
...
@@ -1393,7 +1393,10 @@ class IFSsimulator():
...
@@ -1393,7 +1393,10 @@ class IFSsimulator():
# else:
# else:
# self.result_path='/data/ifspip/CCD_ima/IFS_simData_'+self.source+ss+result_day
# self.result_path='/data/ifspip/CCD_ima/IFS_simData_'+self.source+ss+result_day
self
.
result_path
=
self
.
information
[
'result_path'
]
+
'/'
+
result_day
dir_path
=
os
.
path
.
join
(
os
.
environ
[
'UNIT_TEST_DATA_ROOT'
],
'ifs_sim/'
)
print
(
dir_path
)
self
.
result_path
=
dir_path
+
'/ifs_sim_result/'
+
result_day
if
os
.
path
.
isdir
(
self
.
result_path
)
==
False
:
if
os
.
path
.
isdir
(
self
.
result_path
)
==
False
:
os
.
mkdir
(
self
.
result_path
)
os
.
mkdir
(
self
.
result_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