Update biomek.py

This commit is contained in:
qxw138
2025-06-06 22:50:11 +08:00
parent 146d8c5296
commit e840516ba4

View File

@@ -873,16 +873,16 @@ labware_with_liquid = '''
handler = LiquidHandlerBiomek()
handler.temp_protocol = {
handler.temp_protocol = {
"meta": {},
"labwares": [],
"steps": []
}
}
input_steps = json.loads(steps_info)
labwares = json.loads(labware_with_liquid)
input_steps = json.loads(steps_info)
labwares = json.loads(labware_with_liquid)
for step in input_steps['steps']:
for step in input_steps['steps']:
operation = step['operation']
parameters = step['parameters']
@@ -902,6 +902,6 @@ handler = LiquidHandlerBiomek()
elif operation == 'incubation':
handler.incubation_biomek(time=parameters['time'])
print(json.dumps(handler.temp_protocol, indent=4))
print(json.dumps(handler.temp_protocol, indent=4))