diff --git a/csst_mci_sim/csst_mci_sim.py b/csst_mci_sim/csst_mci_sim.py index 85b64913a127a34bce4d6cb6732c341b122602e0..63bcbf1e455f1cfc81bd9baf91a44a69dc86179b 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))