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
cf7c5c51
Commit
cf7c5c51
authored
Dec 26, 2024
by
Yan Zhaojun
Browse files
update
parent
aff9c074
Pipeline
#7615
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
cf7c5c51
...
...
@@ -2349,16 +2349,14 @@ class MCIsimulator():
self
.
log
.
info
(
'galaxy_Input image path is: %s'
%
(
filename
))
if
not
os
.
path
.
exists
(
filename
):
print
(
'finish load all the input galaxy image fits files'
)
#
self
.
log
.
error
(
'Error, when load input galaxy image fits files'
)
raise
ValueError
(
'Error, when load input galaxy image fits files'
)
#
break
# if not os.path.exists(filename):
# print('finish load all the input galaxy image fits files')
# #
# self.log.error(
# 'Error, when load input galaxy image fits files')
# raise ValueError(
# 'Error, when load input galaxy image fits files')
# #
srcs_cat
=
fits
.
open
(
filename
)
#
# ### load galaxy SED fitsfile ###
...
...
@@ -2374,6 +2372,7 @@ class MCIsimulator():
filename
=
self
.
information
[
'dir_path'
]
+
\
'MCI_inputData/galaxy_Input/noLens_SED_IMG_0.025_230626/Lens_img_cut_SED_'
+
\
str
(
k2
+
1
)
+
'.fits'
#
srcs_sed
=
fits
.
open
(
filename
)
self
.
log
.
info
(
'galaxy_Input SED path is: %s'
%
(
filename
))
...
...
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