Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
c4c1e88f
Commit
c4c1e88f
authored
1 year ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
add convert_slsconf
parent
11db1822
dev
main
No related merge requests found
Pipeline
#2627
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_common/ccds/slsconf.py
+7
-2
csst_common/ccds/slsconf.py
with
7 additions
and
2 deletions
+7
-2
csst_common/ccds/slsconf.py
+
7
-
2
View file @
c4c1e88f
...
...
@@ -354,6 +354,11 @@ def get_slsconf(dir_save=".", **kwargs):
fsave_conf
(
dir_save
,
GL
,
"GRATINGL"
,
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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets