Skip to content

Commit

Permalink
Delete unused with_staging_area_slot_d4 arg.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Dec 7, 2023
1 parent e4b60fb commit 3f359ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
6 changes: 0 additions & 6 deletions api/src/opentrons/protocol_api/_waste_chute.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@ class WasteChute:
See :py:obj:`ProtocolContext.load_waste_chute`.
"""

def __init__(
self,
with_staging_area_slot_d4: bool,
) -> None:
self._with_staging_area_slot_d4 = with_staging_area_slot_d4
8 changes: 1 addition & 7 deletions api/src/opentrons/protocol_api/protocol_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,20 +462,14 @@ def load_trash_bin(self, location: DeckLocation) -> TrashBin:
@requires_version(2, 16)
def load_waste_chute(
self,
*,
with_staging_area_slot_d4: bool = False,
) -> WasteChute:
"""Load the waste chute on the deck.
The deck plate adapter for the waste chute can only go in slot D3. If you try to
load another item in slot D3 after loading the waste chute, or vice versa, the
API will raise an error.
"""
if with_staging_area_slot_d4:
raise NotImplementedError(
"The waste chute staging area slot is not currently implemented."
)
waste_chute = WasteChute(with_staging_area_slot_d4=with_staging_area_slot_d4)
waste_chute = WasteChute()
self._core.append_disposal_location(waste_chute)
return waste_chute

Expand Down

0 comments on commit 3f359ab

Please sign in to comment.