Commit 888b9f4d authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent d31e4bd4
...@@ -13,14 +13,15 @@ import os ...@@ -13,14 +13,15 @@ import os
import unittest import unittest
from csst_common.data_manager import CsstMsDataManager from csst_common.data_manager import CsstMsDataManager
from csst_common.params import CSST_PARAMS as CP from csst_common.params import CSST_PARAMS as CP
dir_unittest = "/nfsdata/users/csstpipeline/L1Pipeline/unittests/csst_common"
class TestCsstMsDataManager(unittest.TestCase): class TestCsstMsDataManager(unittest.TestCase):
def setUp(self) -> None: def setUp(self) -> None:
self.dm_mbi = CsstMsDataManager.quickstart( self.dm_mbi = CsstMsDataManager.quickstart(
ver_sim="C5.2", datatype="mbi", dir_l1=".", exposure_id=100, dfs_mode=False, dfs_node="kmust") ver_sim="C5.2", datatype="mbi", dir_l1=dir_unittest, exposure_id=100, dfs_mode=False, dfs_node="kmust")
self.dm_sls = CsstMsDataManager.quickstart( self.dm_sls = CsstMsDataManager.quickstart(
ver_sim="C5.2", datatype="sls", dir_l1=".", exposure_id=100, dfs_mode=False, dfs_node="kmust") ver_sim="C5.2", datatype="sls", dir_l1=dir_unittest, exposure_id=100, dfs_mode=False, dfs_node="kmust")
self.dm_mbi.target_detectors = None self.dm_mbi.target_detectors = None
self.dm_sls.target_detectors = None self.dm_sls.target_detectors = None
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment