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
689d73d0
Commit
689d73d0
authored
Apr 16, 2024
by
Yan Zhaojun
Browse files
debug
parent
bb5d1b1f
Changes
2
Show whitespace changes
Inline
Side-by-side
csst_mci_sim/__pycache__/csst_mci_sim.cpython-311.pyc
View file @
689d73d0
No preview for this file type
csst_mci_sim/csst_mci_sim.py
View file @
689d73d0
...
...
@@ -5048,7 +5048,7 @@ class MCIsimulator():
self
.
load_filter_PSF
()
self
.
information
[
'simnumber'
]
=
simnumber
self
.
debug
=
True
self
.
debug
=
self
.
information
[
'debug'
]
###########################
flag
=
0
...
...
@@ -5484,7 +5484,7 @@ class MCIsimulator():
################################################################################################
def
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
iLoop
):
def
runMCIsim
(
sourcein
,
configfile
,
dir_path
,
debug
,
iLoop
):
print
(
'路径Test:dir_path'
,
dir_path
)
...
...
@@ -5495,6 +5495,7 @@ def runMCIsim(sourcein,configfile,dir_path,iLoop):
sim
[
iLoop
].
configure
(
iLoop
,
sourcein
,
dir_path
)
# load the configfile;
sim
[
iLoop
].
information
[
'sourcein'
]
=
sourcein
sim
[
iLoop
].
information
[
'debug'
]
=
debug
sim
[
iLoop
].
simulate
(
iLoop
)
...
...
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