Skip to content

Commit

Permalink
add load stacker module function
Browse files Browse the repository at this point in the history
  • Loading branch information
rclarke0 committed Jan 7, 2025
1 parent 0822fbe commit 087f20f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions abr-testing/abr_testing/protocols/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,12 @@ def get_parent(labware: Labware) -> Any:

# Stacker Functions
# TODO add more stacker functions and incorporate them into protocols
def load_stacker_module(protocol: ProtocolContext, serial_number: str, slot:str, labware_name: str)-> StackerModule:
hardware = protocol._hw_manager.hardware
hardware.cache_instruments()
return StackerModule(serial_number = serial_number, labware_name = "", slot = slot, protocol=protocol)


def unload_and_move(
stacker: StackerModule,
new_location: Labware | str,
Expand Down

0 comments on commit 087f20f

Please sign in to comment.