mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-12 18:55:11 +00:00
Reduce pylabrobot conversion warning & force enable log dump.
This commit is contained in:
@@ -582,10 +582,14 @@ def resource_plr_to_ulab(resource_plr: "ResourcePLR", parent_name: str = None, w
|
|||||||
"tip_rack": "tip_rack",
|
"tip_rack": "tip_rack",
|
||||||
"warehouse": "warehouse",
|
"warehouse": "warehouse",
|
||||||
"container": "container",
|
"container": "container",
|
||||||
|
"tube": "tube",
|
||||||
|
"bottle_carrier": "bottle_carrier",
|
||||||
|
"plate_adapter": "plate_adapter",
|
||||||
}
|
}
|
||||||
if source in replace_info:
|
if source in replace_info:
|
||||||
return replace_info[source]
|
return replace_info[source]
|
||||||
else:
|
else:
|
||||||
|
if source is not None:
|
||||||
logger.warning(f"转换pylabrobot的时候,出现未知类型: {source}")
|
logger.warning(f"转换pylabrobot的时候,出现未知类型: {source}")
|
||||||
return source
|
return source
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user