mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-18 13:31:20 +00:00
Update biomek.py
This commit is contained in:
@@ -873,16 +873,16 @@ labware_with_liquid = '''
|
|||||||
|
|
||||||
handler = LiquidHandlerBiomek()
|
handler = LiquidHandlerBiomek()
|
||||||
|
|
||||||
handler.temp_protocol = {
|
handler.temp_protocol = {
|
||||||
"meta": {},
|
"meta": {},
|
||||||
"labwares": [],
|
"labwares": [],
|
||||||
"steps": []
|
"steps": []
|
||||||
}
|
}
|
||||||
|
|
||||||
input_steps = json.loads(steps_info)
|
input_steps = json.loads(steps_info)
|
||||||
labwares = json.loads(labware_with_liquid)
|
labwares = json.loads(labware_with_liquid)
|
||||||
|
|
||||||
for step in input_steps['steps']:
|
for step in input_steps['steps']:
|
||||||
operation = step['operation']
|
operation = step['operation']
|
||||||
parameters = step['parameters']
|
parameters = step['parameters']
|
||||||
|
|
||||||
@@ -902,6 +902,6 @@ handler = LiquidHandlerBiomek()
|
|||||||
elif operation == 'incubation':
|
elif operation == 'incubation':
|
||||||
handler.incubation_biomek(time=parameters['time'])
|
handler.incubation_biomek(time=parameters['time'])
|
||||||
|
|
||||||
print(json.dumps(handler.temp_protocol, indent=4))
|
print(json.dumps(handler.temp_protocol, indent=4))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user