新增transfer_biomek的msg

This commit is contained in:
Xuwznln
2025-06-04 19:03:00 +08:00
parent 147b8f47c0
commit c5a495f409
5 changed files with 12 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
liquid_handler:
description: Liquid handler device controlled by pylabrobot
icon: icon_yiyezhan.webp
class:
module: unilabos.devices.liquid_handling.liquid_handler_abstract:LiquidHandlerAbstract
type: python

View File

@@ -132,8 +132,6 @@ class Registry:
resource_info["description"] = ""
if "icon" not in resource_info:
resource_info["icon"] = ""
if "icon" not in resource_info:
resource_info["icon"] = ""
if "handles" not in resource_info:
resource_info["handles"] = []
if "init_param_schema" not in resource_info:

View File

@@ -131,7 +131,7 @@ _msg_converter: Dict[Type, Any] = {
Bool: lambda x: Bool(data=bool(x)),
str: str,
String: lambda x: String(data=str(x)),
Point: lambda x: Point(x=x.x, y=x.y, z=x.z),
Point: lambda x: Point(x=x.x, y=x.y, z=x.z) if not isinstance(x, dict) else Point(x=x.get("x", 0), y=x.get("y", 0), z=x.get("z", 0)),
Resource: lambda x: Resource(
id=x.get("id", ""),
name=x.get("name", ""),

View File

@@ -45,6 +45,7 @@ set(action_files
"action/LiquidHandlerReturnTips96.action"
"action/LiquidHandlerStamp.action"
"action/LiquidHandlerTransfer.action"
"action/LiquidHandlerTransferBiomek.action"
"action/LiquidHandlerAdd.action"
"action/LiquidHandlerMix.action"

View File

@@ -0,0 +1,9 @@
Resource source
Resource target
Resource tip_rack
string aspirate_technique
string dispense_technique
---
---