Skip to content

Commit cab69d6

Browse files
committed
update OT2Backend default traversal_height from 170 to 120
1 parent 189173e commit cab69d6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pylabrobot/liquid_handling/backends/opentrons_backend.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def __init__(self, host: str, port: int = 31950):
8585
self.left_pipette: Optional[Dict[str, str]] = None
8686
self.right_pipette: Optional[Dict[str, str]] = None
8787

88-
self.traversal_height = 170 # test
88+
self.traversal_height = 120 # test
8989
self._tip_racks: Dict[str, int] = {} # tip_rack.name -> slot index
9090
self._plr_name_to_load_name: Dict[str, str] = {}
9191

@@ -202,8 +202,9 @@ async def _assign_tip_rack(self, tip_rack: TipRack, tip: Tip):
202202
),
203203
"cornerOffsetFromSlot": {
204204
"x": 0,
205-
"y": ot_slot_size_y - tip_rack.get_absolute_size_y(), # hinges push it to the back (PLR is LFB, OT is LBB)
206-
"z": 0
205+
"y": ot_slot_size_y
206+
- tip_rack.get_absolute_size_y(), # hinges push it to the back (PLR is LFB, OT is LBB)
207+
"z": 0,
207208
},
208209
"dimensions": {
209210
"xDimension": tip_rack.get_absolute_size_x(),

0 commit comments

Comments
 (0)