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

update README.md

parent 1411fc1f
# 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
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