From abf20b695b0ebf29bff85758eeec501610c2b3af Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Thu, 29 Jun 2023 17:19:17 +0800 Subject: [PATCH] revert last change --- csst_common/data_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csst_common/data_manager.py b/csst_common/data_manager.py index a767c00..6bb884f 100644 --- a/csst_common/data_manager.py +++ b/csst_common/data_manager.py @@ -1049,10 +1049,10 @@ class CsstMsFile(dict): def fpo(self, post=".fits"): if post.startswith("."): fn = f"{self.telescope}_{self.instrument}_{self.project}_{self.obs_type}_{self.exp_start}_{self.exp_stop}_" \ - f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}{post}" + f"{self.obs_id}_{self.detector}_L1_V{self.version}{post}" else: fn = f"{self.telescope}_{self.instrument}_{self.project}_{self.obs_type}_{self.exp_start}_{self.exp_stop}_" \ - f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}_{post}" + f"{self.obs_id}_{self.detector}_L1_V{self.version}_{post}" return os.path.join(self.dir_out, fn) def fpi(self): -- GitLab