Skip to content

Commit c3165f9

Browse files
authored
park iswap before channel y movement (#402)
1 parent eddd9ee commit c3165f9

File tree

1 file changed

+4
-0
lines changed
  • pylabrobot/liquid_handling/backends/hamilton

1 file changed

+4
-0
lines changed

pylabrobot/liquid_handling/backends/hamilton/STAR.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,6 +3041,7 @@ async def move_channel_x(self, channel: int, x: float):
30413041
"""Move a channel in the x direction."""
30423042
await self.position_left_x_arm_(round(x * 10))
30433043

3044+
@need_iswap_parked
30443045
async def move_channel_y(self, channel: int, y: float):
30453046
"""Move a channel safely in the y direction."""
30463047

@@ -4935,6 +4936,7 @@ async def spread_pip_channels(self):
49354936

49364937
return await self.send_command(module="C0", command="JE")
49374938

4939+
@need_iswap_parked
49384940
async def move_all_pipetting_channels_to_defined_position(
49394941
self,
49404942
tip_pattern: bool = True,
@@ -4975,6 +4977,7 @@ async def move_all_pipetting_channels_to_defined_position(
49754977

49764978
# TODO:(command:JR): teach rack using pipetting channel n
49774979

4980+
@need_iswap_parked
49784981
async def position_max_free_y_for_n(self, pipetting_channel_index: int):
49794982
"""Position all pipetting channels so that there is maximum free Y range for channel n
49804983
@@ -7619,6 +7622,7 @@ async def get_channels_y_positions(self) -> Dict[int, float]:
76197622

76207623
return {channel_idx: y for channel_idx, y in enumerate(y_positions)}
76217624

7625+
@need_iswap_parked
76227626
async def position_channels_in_y_direction(self, ys: Dict[int, float], make_space=True):
76237627
"""position all channels simultaneously in the Y direction.
76247628

0 commit comments

Comments
 (0)