This commit is contained in:
Guangxin Zhang
2025-06-06 11:11:17 +08:00
parent 3c2a4a64ac
commit 106d71e1db

View File

@@ -271,6 +271,8 @@ class LiquidHandlerBiomek:
return return
if __name__ == "__main__":
steps_info = ''' steps_info = '''
{ {
"steps": [ "steps": [
@@ -550,6 +552,16 @@ labware_with_liquid = '''
"A1" "A1"
] ]
}, },
{
"id": "Tip Rack BC230 TL2",
"parent": "deck",
"slot_on_deck": "TL2",
"class_name": "BC230",
"liquid_type": [],
"liquid_volume": [],
"liquid_input_wells": [
]
},
{ {
"id": "Tip Rack BC230 TL2", "id": "Tip Rack BC230 TL2",
"parent": "deck", "parent": "deck",
@@ -737,6 +749,8 @@ labware_with_liquid = '''
''' '''
handler = LiquidHandlerBiomek() handler = LiquidHandlerBiomek()
handler.temp_protocol = { handler.temp_protocol = {
@@ -760,6 +774,5 @@ for step in input_steps['steps']:
aspirate_techniques='MC P300 high', aspirate_techniques='MC P300 high',
dispense_techniques='MC P300 high' dispense_techniques='MC P300 high'
) )
with open('biomek_temporary_protocol.json', 'w') as f:
json.dump(handler.temp_protocol, f, indent=4, ensure_ascii=False)
print(json.dumps(handler.temp_protocol, indent=4))