From b5a6538337fe51ad15d12a2d75e301333bac50a2 Mon Sep 17 00:00:00 2001 From: niejuzi Date: Tue, 21 Jun 2022 17:40:23 +0800 Subject: [PATCH] update code --- csst/msc/calib_pos.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csst/msc/calib_pos.py b/csst/msc/calib_pos.py index 94b574a..f9014a6 100644 --- a/csst/msc/calib_pos.py +++ b/csst/msc/calib_pos.py @@ -170,7 +170,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): tbl2.header['EXTNAME'] = 'LDAC_OBJECTS' return tbl1, tbl2 - def get_refcat(self, img_list, path_gaia, search_radius, silent=True,pm_correct=True): + def get_refcat(self, img_list, path_gaia, search_radius, silent=True, pm_correct=True): """ Get reference catalog for scamp. The reference cat is GAIA EDR3. @@ -190,7 +190,7 @@ class CsstProcMscPositionCalibration(CsstProcessor): filename of the cross matched catalog: ref.cat """ outcat = self.dm.pc_ref_cat - fnmae = self.dm.pc_combined_file("img","fits") + fname = self.dm.pc_combined_file("img","fits") hdu = fits.open(fname) header1 = hdu[0].header header2 = hdu[1].header -- GitLab