Reduce pylabrobot conversion warning & force enable log dump.

This commit is contained in:
Xuwznln
2025-11-28 22:41:50 +08:00
parent 53e767a054
commit b8278c5026
2 changed files with 6 additions and 2 deletions

View File

@@ -582,10 +582,14 @@ def resource_plr_to_ulab(resource_plr: "ResourcePLR", parent_name: str = None, w
"tip_rack": "tip_rack",
"warehouse": "warehouse",
"container": "container",
"tube": "tube",
"bottle_carrier": "bottle_carrier",
"plate_adapter": "plate_adapter",
}
if source in replace_info:
return replace_info[source]
else:
if source is not None:
logger.warning(f"转换pylabrobot的时候出现未知类型: {source}")
return source