From cf7c5c5173e01e629d498a8c1b1883b4dbf79b5d Mon Sep 17 00:00:00 2001 From: yan Date: Thu, 26 Dec 2024 09:54:18 +0800 Subject: [PATCH] update --- csst_mci_sim/csst_mci_sim.py | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py index 85b6491..63bcbf1 100644 --- a/csst_mci_sim/csst_mci_sim.py +++ b/csst_mci_sim/csst_mci_sim.py @@ -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)) -- GitLab