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

added dm.get_axeconf()

parent e0ce912f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -183,6 +183,8 @@ class CsstMsDataManager:
        # record hard code names in history
        self.hardcode_history = []

        self.n_jobs = 18

        # DFS APIs
        # self.l1api = Level1DataApi()

@@ -378,6 +380,12 @@ class CsstMsDataManager:
        else:
            return self.path_aux.format(detector, "flat")

    def get_axeconf(self):
        if os.uname()[1] == "dandelion":
            return "/home/csstpipeline/L1Pipeline/aux/axeconf"
        else:
            return ""

    def l1_file(self, name="", comment=""):
        """ L1 file path