Skip to content

Commit

Permalink
added slas stacker controls
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyNASC20 committed Dec 20, 2024
1 parent a0f8a72 commit 2a598db
Show file tree
Hide file tree
Showing 4 changed files with 813 additions and 0 deletions.
16 changes: 16 additions & 0 deletions abr-testing/abr_testing/protocols/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
from typing import List, Union, Dict, Tuple, Any
from opentrons.hardware_control.modules.types import ThermocyclerStep
from opentrons_shared_data.errors.exceptions import PipetteLiquidNotFoundError
from opentrons.drivers.stacker.slas_demo import StackerModule

# FUNCTIONS FOR LOADING COMMON CONFIGURATIONS

Expand Down Expand Up @@ -662,6 +663,21 @@ def get_parent(labware: Labware) -> Any:
return labware_location


# Stacker Functions
# TODO add more stacker functions and incorporate them into protocols
def unload_and_move(
stacker: StackerModule,
new_location: Labware | str,
) -> None:
"""Move labware off stacker into deck."""
lw = stacker.unload_and_move_labware(new_location=new_location)


def move_to_stacker_and_store(stacker: StackerModule, lw: Labware) -> None:
"""Move labware from deck into stacker"""
stacker.move_and_store_labware(lw=lw)


# CONSTANTS

hs_str = "heaterShakerModuleV1"
Expand Down
4 changes: 4 additions & 0 deletions api/src/opentrons/drivers/stacker/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"""Flex Stacker drivers."""
from .flex_stacker_driver import FlexStacker, LABWARE_Z_HEIGHT, AXIS, GCODE, DIR

__all__ = ["FlexStacker", "LABWARE_Z_HEIGHT", "AXIS", "GCODE", "DIR"]
Loading

0 comments on commit 2a598db

Please sign in to comment.