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_mci_sim
Commits
58aba344
Commit
58aba344
authored
Apr 14, 2024
by
Yan Zhaojun
Browse files
test
parent
73b38dff
Pipeline
#4021
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
58aba344
...
@@ -1503,16 +1503,11 @@ class MCIsimulator():
...
@@ -1503,16 +1503,11 @@ class MCIsimulator():
result_day
=
now
.
strftime
(
"%Y-%m-%d"
)
result_day
=
now
.
strftime
(
"%Y-%m-%d"
)
#self.result_path='../MCI_simData_'+result_day
#self.result_path='../MCI_simData_'+result_day
# if os.getcwd() =='/home/zjyan/work/MCI/simulator':
# self.result_path='/data/mci_simData/'+result_day ### CSST1
# else:
# self.result_path='/home/yan/MCI/simData/'+result_day ### my PC
print
(
self
.
information
[
'dir_path'
])
print
(
"information.dir_path:"
,
self
.
information
[
'dir_path'
])
if
self
.
information
[
'dir_path'
]
==
'/nfsdata/share/simulation-unittest/mci_sim/'
:
if
self
.
information
[
'dir_path'
]
==
'/nfsdata/share/simulation-unittest/mci_sim/'
:
self
.
result_path
=
self
.
information
[
'dir_path'
]
+
\
self
.
result_path
=
self
.
information
[
'dir_path'
]
+
'mci_sim_result/'
+
result_day
'mci_sim_result/'
+
result_day
else
:
else
:
home_path
=
os
.
environ
[
'HOME'
]
home_path
=
os
.
environ
[
'HOME'
]
...
...
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