Skip to content

Commit

Permalink
version 2.18
Browse files Browse the repository at this point in the history
  • Loading branch information
ecormany committed Mar 7, 2024
1 parent d6d9416 commit 45e54bd
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/src/opentrons/protocol_api/instrument_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ def dispense( # noqa: C901
liquid aspirated into the pipette will be dispensed (the
amount is accessible through :py:attr:`current_volume`).
.. versionchanged:: 2.18
Accepts ``TrashBin`` and ``WasteChute`` values.
:param rate: How quickly a pipette dispenses liquid. The speed in µL/s is
calculated as ``rate`` multiplied by :py:attr:`flow_rate.dispense
<flow_rate>`. If not specified, defaults to 1.0. See
Expand Down Expand Up @@ -551,6 +554,9 @@ def blow_out(
without first calling a method that takes a location, like
:py:meth:`.aspirate` or :py:meth:`dispense`.
:returns: This instance.
.. versionchanged:: 2.18
The ``location`` parameter accepts ``TrashBin`` and ``WasteChute`` values.
"""
well: Optional[labware.Well] = None
move_to_location: types.Location
Expand Down Expand Up @@ -1015,6 +1021,9 @@ def drop_tip(
position.
:returns: This instance.
.. versionchanged:: 2.18
The ``location`` parameter accepts ``TrashBin`` and ``WasteChute`` values.
"""
alternate_drop_location: bool = False
if location is None:
Expand Down Expand Up @@ -1445,6 +1454,9 @@ def move_to(
:param publish: Whether to list this function call in the run preview.
Default is ``True``.
.. versionchanged:: 2.18
The ``location`` parameter accepts ``TrashBin`` and ``WasteChute`` values.
"""
with ExitStack() as contexts:
if isinstance(location, (TrashBin, WasteChute)):
Expand Down

0 comments on commit 45e54bd

Please sign in to comment.