Commit e5799408 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

fixed version

parent b37ec6e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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):