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

View File

@@ -271,8 +271,10 @@ class LiquidHandlerBiomek:
return return
steps_info = ''' if __name__ == "__main__":
{
steps_info = '''
{
"steps": [ "steps": [
{ {
"step_number": 1, "step_number": 1,
@@ -531,8 +533,8 @@ steps_info = '''
} }
} }
] ]
} }
''' '''
@@ -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",
@@ -733,9 +745,11 @@ labware_with_liquid = '''
"liquid_input_wells": [ "liquid_input_wells": [
] ]
} }
] ]
'''
'''
handler = LiquidHandlerBiomek() handler = LiquidHandlerBiomek()
@@ -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))