Skip to content

Commit

Permalink
use ThermocyclerContext
Browse files Browse the repository at this point in the history
  • Loading branch information
vegano1 committed Jan 26, 2025
1 parent 3fad949 commit f391227
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions api/src/opentrons/drivers/stacker/slas_demo.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from opentrons.protocol_api import ProtocolContext, Labware
from opentrons.drivers.stacker.flex_stacker_driver import FlexStacker, LABWARE_Z_HEIGHT
from typing import Optional, List
from typing import Optional, List, cast

from opentrons.protocol_api.module_contexts import ThermocyclerContext

metadata = {"protocolName": "Flex Stacker SLAS Demo"}
requirements = {"robotType": "Flex", "apiLevel": "2.17"}
Expand Down Expand Up @@ -78,8 +80,8 @@ def run(protocol: ProtocolContext) -> None:
)

# # Thermocycler in A1
thermocycler = protocol.load_module("thermocyclerModuleV2")
thermocycler.open()
thermocycler = cast(ThermocyclerContext, protocol.load_module("thermocyclerModuleV2"))
thermocycler.open_lid()

# Tiprack adapaters in A2, A3, B2
tiprack_adapters = [
Expand Down

0 comments on commit f391227

Please sign in to comment.