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

update README.md

parent b5b6e3fe
# 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
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