File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
pylabrobot/liquid_handling/backends/hamilton Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -2228,7 +2228,9 @@ async def drop_tips96(
22282228 if isinstance (drop .resource , TipRack ):
22292229 tip_spot_a1 = drop .resource .get_item ("A1" )
22302230 position = tip_spot_a1 .get_absolute_location () + tip_spot_a1 .center () + drop .offset
2231- position .z = tip_spot_a1 .parent .get_absolute_location ().z + 1.45
2231+ tip_rack = tip_spot_a1 .parent
2232+ assert tip_rack is not None
2233+ position .z = tip_rack .get_absolute_location ().z + 1.45
22322234 # This should be the case for all normal hamilton tip carriers + racks
22332235 # In the future, we might want to make this more flexible
22342236 assert abs (position .z - 216.4 ) < 1e-6 , f"z position must be 216.4, got { position .z } "
You can’t perform that action at this time.
0 commit comments