fix: update resource with correct structure; remove deprecated liquid_handler set_group action

This commit is contained in:
Junhan Chang
2025-09-25 15:27:05 +08:00
parent f13156e792
commit 622e579063
3 changed files with 1 additions and 198 deletions

View File

@@ -132,7 +132,7 @@ class HTTPClient:
""" """
response = requests.put( response = requests.put(
f"{self.remote_addr}/lab/material", f"{self.remote_addr}/lab/material",
json=resources, json={"nodes": resources},
headers={"Authorization": f"Lab {self.auth}"}, headers={"Authorization": f"Lab {self.auth}"},
timeout=100, timeout=100,
) )

View File

@@ -7304,151 +7304,6 @@ liquid_handler.prcxi:
title: LiquidHandlerRemove title: LiquidHandlerRemove
type: object type: object
type: LiquidHandlerRemove type: LiquidHandlerRemove
set_group:
feedback: {}
goal:
group_name: group_name
volumes: volumes
wells: wells
goal_default:
group_name: ''
volumes:
- 0.0
wells:
- category: ''
children: []
config: ''
data: ''
id: ''
name: ''
parent: ''
pose:
orientation:
w: 1.0
x: 0.0
y: 0.0
z: 0.0
position:
x: 0.0
y: 0.0
z: 0.0
sample_id: ''
type: ''
handles: {}
result: {}
schema:
description: ''
properties:
feedback:
properties: {}
required: []
title: LiquidHandlerSetGroup_Feedback
type: object
goal:
properties:
group_name:
type: string
volumes:
items:
type: number
type: array
wells:
items:
properties:
category:
type: string
children:
items:
type: string
type: array
config:
type: string
data:
type: string
id:
type: string
name:
type: string
parent:
type: string
pose:
properties:
orientation:
properties:
w:
type: number
x:
type: number
y:
type: number
z:
type: number
required:
- x
- y
- z
- w
title: orientation
type: object
position:
properties:
x:
type: number
y:
type: number
z:
type: number
required:
- x
- y
- z
title: position
type: object
required:
- position
- orientation
title: pose
type: object
sample_id:
type: string
type:
type: string
required:
- id
- name
- sample_id
- children
- parent
- type
- category
- pose
- config
- data
title: wells
type: object
type: array
required:
- group_name
- wells
- volumes
title: LiquidHandlerSetGroup_Goal
type: object
result:
properties:
return_info:
type: string
success:
type: boolean
required:
- return_info
- success
title: LiquidHandlerSetGroup_Result
type: object
required:
- goal
title: LiquidHandlerSetGroup
type: object
type: LiquidHandlerSetGroup
set_liquid: set_liquid:
feedback: {} feedback: {}
goal: goal:
@@ -7824,56 +7679,6 @@ liquid_handler.prcxi:
title: Transfer title: Transfer
type: object type: object
type: Transfer type: Transfer
transfer_group:
feedback: {}
goal:
source_group_name: source_group_name
target_group_name: target_group_name
unit_volume: unit_volume
goal_default:
source_group_name: ''
target_group_name: ''
unit_volume: 0.0
handles: {}
result: {}
schema:
description: ''
properties:
feedback:
properties: {}
required: []
title: LiquidHandlerTransferGroup_Feedback
type: object
goal:
properties:
source_group_name:
type: string
target_group_name:
type: string
unit_volume:
type: number
required:
- source_group_name
- target_group_name
- unit_volume
title: LiquidHandlerTransferGroup_Goal
type: object
result:
properties:
return_info:
type: string
success:
type: boolean
required:
- return_info
- success
title: LiquidHandlerTransferGroup_Result
type: object
required:
- goal
title: LiquidHandlerTransferGroup
type: object
type: LiquidHandlerTransferGroup
transfer_liquid: transfer_liquid:
feedback: {} feedback: {}
goal: goal:

View File

@@ -68,12 +68,10 @@ set(action_files
"action/LiquidHandlerSetTipRack.action" "action/LiquidHandlerSetTipRack.action"
"action/LiquidHandlerStamp.action" "action/LiquidHandlerStamp.action"
"action/LiquidHandlerTransfer.action" "action/LiquidHandlerTransfer.action"
"action/LiquidHandlerSetGroup.action"
"action/LiquidHandlerTransferBiomek.action" "action/LiquidHandlerTransferBiomek.action"
"action/LiquidHandlerIncubateBiomek.action" "action/LiquidHandlerIncubateBiomek.action"
"action/LiquidHandlerMoveBiomek.action" "action/LiquidHandlerMoveBiomek.action"
"action/LiquidHandlerOscillateBiomek.action" "action/LiquidHandlerOscillateBiomek.action"
"action/LiquidHandlerTransferGroup.action"
"action/LiquidHandlerAdd.action" "action/LiquidHandlerAdd.action"
"action/LiquidHandlerMix.action" "action/LiquidHandlerMix.action"
"action/LiquidHandlerMoveTo.action" "action/LiquidHandlerMoveTo.action"