Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-cicd
csst-dag
Commits
d12ab868
Commit
d12ab868
authored
Jan 14, 2025
by
BO ZHANG
🏀
Browse files
update README.md
parent
b5b6e3fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
d12ab868
# csst-dag
# csst-dag
CSST pipeline DAG.
CSST pipeline DAG.
```
python
# 筛选出所有符合条件的 DAG
from
csst_dag.dag
import
CSST_DAG_LIST
assert
CSST_DAG_LIST
.
match
(
obsid
=
"11009101682009"
,
chipid
=
"01"
)
==
[
"csst-msc-l1-sls"
]
```
```
python
# 验证某个DAG是否
from
csst_dag.dag
import
CSST_DAG_LIST
dag
=
CSST_DAG_LIST
[
0
]
dag
.
pprint
()
dag
.
match
(
obsid
=
"11009101682009"
,
chipid
=
"01"
)
# 返回True
dag
.
match
(
obsid
=
"10109101682009"
,
chipid
=
"12"
)
# 返回True
```
\ No newline at end of file
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