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
b4020e3b
Commit
b4020e3b
authored
Apr 27, 2025
by
BO ZHANG
🏀
Browse files
update README.md
parent
1411fc1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b4020e3b
# csst-dag
CSST pipeline DAG.
## 筛选出所有符合条件的 DAG
```
python
from
csst_dag.dag
import
CSST_DAG_LIST
assert
CSST_DAG_LIST
.
match
(
obsid
=
"11009101682009"
,
chipid
=
"01"
)
==
[
"csst-msc-l1-sls"
]
```
bash
pip
install
git+https://csst-tb.bao.ac.cn/code/csst-cicd/csst-dag.git
--force-reinstall
```
## 验证某个 DAG 是否符合输入的参数
```
python
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