mirror of
https://github.com/deepmodeling/Uni-Lab-OS
synced 2026-04-28 19:09:57 +00:00
修复 WareHouse 反序列化时子资源命名冲突,并更新配液站测试 UUID
- itemized_carrier: assign_child_resource idx=None 时直接 return, 不调用 super(),避免 bottle_carrier 子树进入 PLR 命名冲突检查 - dispensing_station_bioyond.json: 替换 placeholder UUID 为真实配置值 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -180,8 +180,8 @@ class ItemizedCarrier(ResourcePLR):
|
||||
break
|
||||
|
||||
if idx is None:
|
||||
# 反序列化时无法匹配 site(名称或坐标均不符),退回父类默认分配,不更新 site 跟踪
|
||||
super().assign_child_resource(resource, location=location, reassign=reassign)
|
||||
# 反序列化时无法匹配 site(名称或坐标均不符)。
|
||||
# WareHouse 通过 sites 追踪占用,无需将子资源加入 PLR 子树,直接跳过避免命名冲突。
|
||||
return
|
||||
|
||||
if not reassign and self.sites[idx] is not None:
|
||||
|
||||
Reference in New Issue
Block a user