Skip to content

Commit

Permalink
feat(api): allow custom user offsets for deck configured trash bins a…
Browse files Browse the repository at this point in the history
…nd waste chute (#14560)

Adds the ability to dispense, blow out, drop tip, and move to deck configured (api level 2.16 and above) trash bins and waste chutes

---------

Co-authored-by: Edward Cormany <[email protected]>
  • Loading branch information
2 people authored and Carlos-fernandez committed Jun 3, 2024
1 parent 227fadd commit 2971799
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions api/docs/v2/new_protocol_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Labware
signatures, since users should never construct these directly.
.. autoclass:: opentrons.protocol_api.TrashBin()
:members:

.. autoclass:: opentrons.protocol_api.WasteChute()

Expand Down Expand Up @@ -75,7 +76,7 @@ Modules
:members:
:exclude-members: total_step_count, current_cycle_index, total_cycle_count, hold_time, ramp_rate, current_step_index, broker, geometry, load_labware_object
:inherited-members:


.. _protocol-api-types:

Expand All @@ -100,5 +101,3 @@ Executing and Simulating Protocols

.. automodule:: opentrons.simulate
:members:


2 changes: 2 additions & 0 deletions api/src/opentrons/protocol_api/instrument_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -1100,6 +1100,8 @@ def drop_tip(
instrument=self, location=location
),
):
# TODO(jbl 2024-02-28) when adding 2.18 api version checks, set alternate_tip_drop
# if below that version for compatability
self._core.drop_tip_in_disposal_location(
location,
home_after=home_after,
Expand Down

0 comments on commit 2971799

Please sign in to comment.