Loading csst_dag/dag/l1.py +4 −7 Original line number Diff line number Diff line Loading @@ -124,12 +124,6 @@ class GeneralL1DAG(BaseDAG): batch_id=batch_id, priority=priority, ) if demo: # print(json.dumps(dag_group_run, indent=4)) # try single-lined json verbose print( " - " + json.dumps(dag_group_run, indent=None, separators=(",", ":")) ) # find level0 data records recs = level0.find( Loading Loading @@ -183,5 +177,8 @@ class GeneralL1DAG(BaseDAG): assert res_push.success, res_push.message else: # no push print(f"{len(dag_run_list)} DAG runs.") print( f"{len(dag_run_list)} DAG runs -> {json.dumps(dag_group_run, indent=None, separators=(',', ':'))}" ) # TODO: `dag_group_run` and `dag_run_list` should be dumped to a text file in the future return dag_group_run, dag_run_list Loading
csst_dag/dag/l1.py +4 −7 Original line number Diff line number Diff line Loading @@ -124,12 +124,6 @@ class GeneralL1DAG(BaseDAG): batch_id=batch_id, priority=priority, ) if demo: # print(json.dumps(dag_group_run, indent=4)) # try single-lined json verbose print( " - " + json.dumps(dag_group_run, indent=None, separators=(",", ":")) ) # find level0 data records recs = level0.find( Loading Loading @@ -183,5 +177,8 @@ class GeneralL1DAG(BaseDAG): assert res_push.success, res_push.message else: # no push print(f"{len(dag_run_list)} DAG runs.") print( f"{len(dag_run_list)} DAG runs -> {json.dumps(dag_group_run, indent=None, separators=(',', ':'))}" ) # TODO: `dag_group_run` and `dag_run_list` should be dumped to a text file in the future return dag_group_run, dag_run_list