Skip to content

Commit 9070f0f

Browse files
committed
add mixing docs to deprecation errors
1 parent 877adf0 commit 9070f0f

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

pylabrobot/liquid_handling/backends/hamilton/STAR_backend.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,7 +1714,8 @@ async def aspirate(
17141714

17151715
if mix_volume is not None or mix_cycles is not None or mix_speed is not None:
17161716
raise NotImplementedError(
1717-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.aspirate instead."
1717+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.aspirate instead. "
1718+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
17181719
)
17191720

17201721
x_positions, y_positions, channels_involved = self._ops_to_fw_positions(ops, use_channels)
@@ -2009,7 +2010,8 @@ async def dispense(
20092010

20102011
if mix_volume is not None or mix_cycles is not None or mix_speed is not None:
20112012
raise NotImplementedError(
2012-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead."
2013+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead. "
2014+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
20132015
)
20142016

20152017
x_positions, y_positions, channels_involved = self._ops_to_fw_positions(ops, use_channels)
@@ -2329,7 +2331,8 @@ async def aspirate96(
23292331

23302332
if mix_volume != 0 or mix_cycles != 0 or speed_of_mix != 0:
23312333
raise NotImplementedError(
2332-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.aspirate96 instead."
2334+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.aspirate96 instead. "
2335+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
23332336
)
23342337

23352338
assert self.core96_head_installed, "96 head must be installed"
@@ -2529,7 +2532,8 @@ async def dispense96(
25292532

25302533
if mixing_volume != 0 or mixing_cycles != 0 or speed_of_mixing != 0:
25312534
raise NotImplementedError(
2532-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead."
2535+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead. "
2536+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
25332537
)
25342538

25352539
assert self.core96_head_installed, "96 head must be installed"

pylabrobot/liquid_handling/backends/hamilton/vantage_backend.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,8 @@ async def aspirate(
624624

625625
if mix_volume is not None or mix_cycles is not None or mix_speed is not None:
626626
raise NotImplementedError(
627-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead."
627+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead. "
628+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
628629
)
629630

630631
x_positions, y_positions, channels_involved = self._ops_to_fw_positions(ops, use_channels)
@@ -815,7 +816,8 @@ async def dispense(
815816

816817
if mix_volume is not None or mix_cycles is not None or mix_speed is not None:
817818
raise NotImplementedError(
818-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead."
819+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense instead. "
820+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
819821
)
820822

821823
x_positions, y_positions, channels_involved = self._ops_to_fw_positions(ops, use_channels)
@@ -1058,7 +1060,8 @@ async def aspirate96(
10581060

10591061
if mix_volume != 0 or mix_cycles != 0 or mix_speed != 0:
10601062
raise NotImplementedError(
1061-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense96 instead."
1063+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense96 instead. "
1064+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
10621065
)
10631066

10641067
if isinstance(aspiration, MultiHeadAspirationPlate):
@@ -1222,7 +1225,8 @@ async def dispense96(
12221225

12231226
if mix_volume != 0 or mix_cycles != 0 or mix_speed is not None:
12241227
raise NotImplementedError(
1225-
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense96 instead."
1228+
"Mixing through backend kwargs is deprecated. Use the `mix` parameter of LiquidHandler.dispense96 instead. "
1229+
"https://docs.pylabrobot.org/user_guide/00_liquid-handling/mixing.html"
12261230
)
12271231

12281232
if isinstance(dispense, MultiHeadDispensePlate):

0 commit comments

Comments
 (0)