Skip to content

Commit 140cd81

Browse files
authored
Fix teaching needle block positions on STARlet (#350)
1 parent c39bd0b commit 140cd81

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pylabrobot/resources/hamilton/hamilton_deck_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_summary(self):
6363
│ ├── <empty>
6464
6565
(31) ├── teaching_carrier Resource (775.000, 051.800, 100.000)
66-
│ ├── teaching_tip_rack TipRack (780.900, 452.100, 100.000)
66+
│ ├── teaching_tip_rack TipRack (780.900, 461.100, 100.000)
6767
6868
(32) ├── trash Trash (800.000, 190.600, 137.100)
6969
"""[1:]

pylabrobot/resources/hamilton/hamilton_decks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,12 +424,12 @@ def __init__(
424424
size_x=9 * 8,
425425
size_y=9,
426426
size_z=50.4,
427-
ordered_items={f"A{i}": tip_spots[i] for i in range(8)},
427+
ordered_items={f"{letter}1": tip_spots[idx] for idx, letter in enumerate("HGFEDCBA")},
428428
with_tips=True,
429429
model="hamilton_teaching_tip_rack",
430430
)
431431
teaching_carrier.assign_child_resource(
432-
teaching_tip_rack, location=Coordinate(x=5.9, y=400.3, z=0)
432+
teaching_tip_rack, location=Coordinate(x=5.9, y=409.3, z=0)
433433
)
434434
self.assign_child_resource(
435435
teaching_carrier,

0 commit comments

Comments
 (0)