Loading csst_common/data_manager.py +2 −2 Original line number Diff line number Diff line Loading @@ -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}{post}" f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}{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}_{post}" f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}_{post}" return os.path.join(self.dir_out, fn) def fpi(self): Loading Loading
csst_common/data_manager.py +2 −2 Original line number Diff line number Diff line Loading @@ -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}{post}" f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}{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}_{post}" f"{self.obs_id}_{self.detector}_L1_V{self.version:02d}_{post}" return os.path.join(self.dir_out, fn) def fpi(self): Loading