Commit 3868a760 authored by Yan Zhaojun's avatar Yan Zhaojun
Browse files

update

parent 32f40c2a
Pipeline #7812 failed with stage
in 0 seconds
......@@ -2339,11 +2339,15 @@ class MCIsimulator():
filename = self.information['dir_path'] + \
'MCI_inputData/galaxy_Input/Lens_SED_IMG_0.025_230606/Lens_img_cut_IMG_' + \
str(k2+1)+'.fits'
if not os.path.exists(filename):
continue
else:
filename = self.information['dir_path'] + \
'MCI_inputData/galaxy_Input/noLens_SED_IMG_0.025_230626/Lens_img_cut_IMG_' + \
str(k2+1)+'.fits'
if not os.path.exists(filename):
continue
self.log.info('galaxy_Input image path is: %s' % (filename))
......@@ -2364,12 +2368,16 @@ class MCIsimulator():
filename = self.information['dir_path'] + \
'MCI_inputData/galaxy_Input/Lens_SED_IMG_0.025_241227/Lens_img_cut_SED_' + \
str(k2+1)+'.fits'
if not os.path.exists(filename):
continue
else:
filename = self.information['dir_path'] + \
'MCI_inputData/galaxy_Input/noLens_SED_IMG_0.025_230626/Lens_img_cut_SED_' + \
str(k2+1)+'.fits'
if not os.path.exists(filename):
continue
#
srcs_sed = fits.open(filename)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment