Loading README.md +4 −3 Original line number Diff line number Diff line Loading @@ -2,15 +2,16 @@ CSST pipeline DAG. ## 筛选出所有符合条件的 DAG ```python # 筛选出所有符合条件的 DAG from csst_dag.dag import CSST_DAG_LIST assert CSST_DAG_LIST.match(obsid="11009101682009", chipid="01") == ["csst-msc-l1-sls"] ``` ## 验证某个 DAG 是否符合输入的参数 ```python # 验证某个DAG是否 from csst_dag.dag import CSST_DAG_LIST dag = CSST_DAG_LIST[0] Loading Loading
README.md +4 −3 Original line number Diff line number Diff line Loading @@ -2,15 +2,16 @@ CSST pipeline DAG. ## 筛选出所有符合条件的 DAG ```python # 筛选出所有符合条件的 DAG from csst_dag.dag import CSST_DAG_LIST assert CSST_DAG_LIST.match(obsid="11009101682009", chipid="01") == ["csst-msc-l1-sls"] ``` ## 验证某个 DAG 是否符合输入的参数 ```python # 验证某个DAG是否 from csst_dag.dag import CSST_DAG_LIST dag = CSST_DAG_LIST[0] Loading