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

add convert_slsconf

parent 11db1822
Pipeline #2627 failed with stage
...@@ -354,6 +354,11 @@ def get_slsconf(dir_save=".", **kwargs): ...@@ -354,6 +354,11 @@ def get_slsconf(dir_save=".", **kwargs):
fsave_conf(dir_save, GL, "GRATINGL", i) fsave_conf(dir_save, GL, "GRATINGL", i)
fsave_conf(dir_save, GR, "GRATINGR", i) fsave_conf(dir_save, GR, "GRATINGR", i)
# TODO: assert all files are saved correctly, then return
# TODO: return a dict containing filepath mapping # TODO
def convert_slsconf(
extract1d_json_path: str = "/ccds_root/references/msc/csst_msc_ms_extract1d_01_000040.json",
config_left: str = "./csst_msc_ms_extract1d_01_000040_left.conf",
config_right: str = "./csst_msc_ms_extract1d_01_000040_right.conf",
):
pass
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