From 4e92a260572d41040f77807879afb00372550bfd Mon Sep 17 00:00:00 2001 From: ZiWei <131428629+ZiWei09@users.noreply.github.com> Date: Fri, 17 Oct 2025 13:41:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(reaction=5Fstation):=20=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E5=BA=8F=E5=88=97=E5=92=8C=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=81=BF=E5=85=8D=E9=87=8D=E5=A4=8D=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=20(#113)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在创建任务后清空工作流序列和参数,防止下次执行时累积重复 --- unilabos/devices/workstation/bioyond_studio/reaction_station.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unilabos/devices/workstation/bioyond_studio/reaction_station.py b/unilabos/devices/workstation/bioyond_studio/reaction_station.py index 4bfe92f6..d732fafb 100644 --- a/unilabos/devices/workstation/bioyond_studio/reaction_station.py +++ b/unilabos/devices/workstation/bioyond_studio/reaction_station.py @@ -543,7 +543,9 @@ class BioyondReactionStation(BioyondWorkstation): if not result: return self._create_error_result("创建任务失败", "create_order") + # 清空工作流序列和参数,防止下次执行时累积重复 self.pending_task_params = [] + self.clear_workflows() # print(f"\n✅ 任务创建成功: {result}") # print(f"\n✅ 任务创建成功")