Skip to content

Commit 3fad949

Browse files
committed
debug module
1 parent 51d13ce commit 3fad949

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

api/src/opentrons/drivers/stacker/slas_demo.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def move_and_store_labware(self, lw: Labware) -> None:
6060
def run(protocol: ProtocolContext) -> None:
6161
hardware = protocol._hw_manager.hardware
6262
hardware.cache_instruments()
63+
print("ATTACHED MODULES:")
64+
for m in hardware.attached_modules:
65+
print(m)
6366

6467
tiprack_stacker = StackerModule(
6568
serial_number="PS241204SZEVT27",
@@ -76,7 +79,7 @@ def run(protocol: ProtocolContext) -> None:
7679

7780
# # Thermocycler in A1
7881
thermocycler = protocol.load_module("thermocyclerModuleV2")
79-
thermocycler.open_lid()
82+
thermocycler.open()
8083

8184
# Tiprack adapaters in A2, A3, B2
8285
tiprack_adapters = [

api/src/opentrons/protocol_engine/state/modules.py

+2
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,9 @@ def select_hardware_module_to_load( # noqa: C901
11771177
f" present in {location.slotName.value}"
11781178
)
11791179

1180+
print(f"FIND MODULE: {model}")
11801181
for m in attached_modules:
1182+
print(f"MODULE: {m} {m.definition.model}")
11811183
if m not in self._state.hardware_by_module_id.values():
11821184
if model == m.definition.model or model in m.definition.compatibleWith:
11831185
if expected_serial_number is not None:

0 commit comments

Comments
 (0)