Commit 71707f5b authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

fix typo

parent dbab8adb
...@@ -86,19 +86,20 @@ class CsstMscL1Mbi(BaseDAG): ...@@ -86,19 +86,20 @@ class CsstMscL1Mbi(BaseDAG):
project_id=project_id, project_id=project_id,
batch_id=batch_id, batch_id=batch_id,
obs_id=this_rec["obs_id"], obs_id=this_rec["obs_id"],
chipid=this_rec["detector_no"], chip_id=this_rec["detector_no"],
dag_run_id=self.gen_dag_run_id(), dag_run_id=self.gen_dag_run_id(),
**kwargs, **kwargs,
) )
if not demo: if not demo:
level0.update_prc_status( # push and update
this_rec["level0_id"], self.push(this_msg)
this_msg["dag_run_id"], this_update = level0.update_prc_status(
level0_id=this_rec["level0_id"],
dag_run_id=this_msg["dag_run_id"],
prc_status=-2, prc_status=-2,
dataset=dataset, dataset=dataset,
) )
self.push(this_msg) assert this_update.success, this_update.message
msgs.append(this_msg) msgs.append(this_msg)
# self.push(msg) # self.push(msg)
return msgs return msgs
......
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