From 4a604e5fd5d3ac1471b87710107ced1f85e52313 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Tue, 4 Jul 2023 15:26:48 +0800 Subject: [PATCH] tweaks --- csst_common/data_manager.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/csst_common/data_manager.py b/csst_common/data_manager.py index aa6af1a..a1f9089 100644 --- a/csst_common/data_manager.py +++ b/csst_common/data_manager.py @@ -544,7 +544,7 @@ class CsstMsDataManager: fp = os.path.join( self.path_aux, "C6.2_ref_crds", - "csst_msc_ms_{}_{:02d}_{:04d}.fits".format("bias", detector, 1) + "csst_msc_ms_{}_{:02d}_{:06d}.fits".format("bias", detector, 1) ) if not os.path.exists(fp): raise FileNotFoundError(fp) @@ -556,7 +556,7 @@ class CsstMsDataManager: fp = os.path.join( self.path_aux, "C6.2_ref_crds", - "csst_msc_ms_{}_{:02d}_{:04d}.fits".format("dark", detector, 1) + "csst_msc_ms_{}_{:02d}_{:06d}.fits".format("dark", detector, 1) ) if not os.path.exists(fp): raise FileNotFoundError(fp) @@ -568,7 +568,7 @@ class CsstMsDataManager: fp = os.path.join( self.path_aux, "C6.2_ref_crds", - "csst_msc_ms_{}_{:02d}_{:04d}.fits".format("ledflat", detector, 1) + "csst_msc_ms_{}_{:02d}_{:06d}.fits".format("ledflat", detector, 1) ) if not os.path.exists(fp): raise FileNotFoundError(fp) @@ -580,15 +580,15 @@ class CsstMsDataManager: fp = os.path.join( self.path_aux, "C6.2_ref_crds", - "csst_msc_ms_{}_{:02d}_{:04d}.fits".format("shutter", detector, 1) + "csst_msc_ms_{}_{:02d}_{:06d}.fits".format("shutter", detector, 1) ) if not os.path.exists(fp): raise FileNotFoundError(fp) else: return fp - def get_axeconf(self): - return os.path.join(self.path_aux, "axeconf") # "/home/csstpipeline/L1Pipeline/aux/axeconf" + # def get_axeconf(self): + # return os.path.join(self.path_aux, "axeconf") # "/home/csstpipeline/L1Pipeline/aux/axeconf" def l1_file(self, name="", comment=""): """ L1 file path -- GitLab