mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-14 03:35:12 +00:00
Update for discard tips
This commit is contained in:
@@ -1051,7 +1051,7 @@ if __name__ == "__main__":
|
||||
"uuid": "57b1e4711e9e4a32b529f3132fc5931f",
|
||||
}
|
||||
})
|
||||
plate6 = PRCXI9300Trash(name="trash", size_x=50, size_y=50, size_z=10, category="trash")
|
||||
plate6 = PRCXI9300Trash(name="trash", size_x=50, size_y=500, size_z=10, category="trash")
|
||||
plate6.load_state({
|
||||
"Material": {
|
||||
"uuid": "57b1e4711e9e4a32b529f3132fc5931f",
|
||||
@@ -1079,27 +1079,28 @@ if __name__ == "__main__":
|
||||
handler.set_tiprack([tip_rack]) # Set the tip rack for the handler
|
||||
asyncio.run(handler.setup()) # Initialize the handler and setup the connection
|
||||
asyncio.run(handler.create_protocol(protocol_name="Test Protocol")) # Initialize the backend and setup the connection
|
||||
#asyncio.run(handler.pick_up_tips(tip_rack.children[:8],[0,1,2,3,4,5,6,7]))
|
||||
asyncio.run(handler.pick_up_tips(tip_rack.children[:8],[0,1,2,3,4,5,6,7]))
|
||||
# asyncio.run(handler.aspirate(well_containers.children[:8],[50]*8, [0,1,2,3,4,5,6,7]))
|
||||
# asyncio.run(handler.dispense(well_containers.children[:8],[50]*8,[0,1,2,3,4,5,6,7]))
|
||||
#asyncio.run(handler.drop_tips(tip_rack.children[8:16],[0,1,2,3,4,5,6,7]))
|
||||
asyncio.run(handler.discard_tips())
|
||||
# asyncio.run(handler.mix(well_containers.children[:8], mix_time=3, mix_vol=50, height_to_bottom=0.5, offsets=Coordinate(0, 0, 0), mix_rate=100))
|
||||
#print(json.dumps(handler._unilabos_backend.steps_todo_list, indent=2)) # Print matrix info
|
||||
asyncio.run(handler.add_liquid(
|
||||
asp_vols=[100]*16,
|
||||
dis_vols=[100]*16,
|
||||
reagent_sources=well_containers.children[-16:],
|
||||
targets=well_containers.children[:16],
|
||||
use_channels=[0, 1, 2, 3, 4, 5, 6, 7],
|
||||
flow_rates=[None] * 32,
|
||||
offsets=[Coordinate(0, 0, 0)] * 32,
|
||||
liquid_height=[None] * 16,
|
||||
blow_out_air_volume=[None] * 16,
|
||||
delays=None,
|
||||
mix_time=3,
|
||||
mix_vol=50,
|
||||
spread="wide",
|
||||
))
|
||||
# asyncio.run(handler.add_liquid(
|
||||
# asp_vols=[100]*16,
|
||||
# dis_vols=[100]*16,
|
||||
# reagent_sources=well_containers.children[-16:],
|
||||
# targets=well_containers.children[:16],
|
||||
# use_channels=[0, 1, 2, 3, 4, 5, 6, 7],
|
||||
# flow_rates=[None] * 32,
|
||||
# offsets=[Coordinate(0, 0, 0)] * 32,
|
||||
# liquid_height=[None] * 16,
|
||||
# blow_out_air_volume=[None] * 16,
|
||||
# delays=None,
|
||||
# mix_time=3,
|
||||
# mix_vol=50,
|
||||
# spread="wide",
|
||||
# ))
|
||||
|
||||
# asyncio.run(handler.remove_liquid(
|
||||
# vols=[100]*16,
|
||||
|
||||
Reference in New Issue
Block a user