From 69c76deeb8669124077bb119b411c93ae84d890b Mon Sep 17 00:00:00 2001 From: ahiuchingau <20424172+ahiuchingau@users.noreply.github.com> Date: Wed, 8 Jan 2025 17:24:59 -0500 Subject: [PATCH] too complex --- .../state/module_substates/flex_stacker_substate.py | 2 +- api/src/opentrons/protocol_engine/state/modules.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/src/opentrons/protocol_engine/state/module_substates/flex_stacker_substate.py b/api/src/opentrons/protocol_engine/state/module_substates/flex_stacker_substate.py index 8f9efad4df1..5f655823a95 100644 --- a/api/src/opentrons/protocol_engine/state/module_substates/flex_stacker_substate.py +++ b/api/src/opentrons/protocol_engine/state/module_substates/flex_stacker_substate.py @@ -15,4 +15,4 @@ class FlexStackerSubState: """ module_id: FlexStackerId - labware_name: str + labware_name: str = "" diff --git a/api/src/opentrons/protocol_engine/state/modules.py b/api/src/opentrons/protocol_engine/state/modules.py index 18bccb24a93..4fe757fbb7a 100644 --- a/api/src/opentrons/protocol_engine/state/modules.py +++ b/api/src/opentrons/protocol_engine/state/modules.py @@ -373,6 +373,10 @@ def _add_module_substate( configured_wavelengths=None, reference_wavelength=None, ) + elif ModuleModel.is_flex_stacker(actual_model): + self._state.substate_by_module_id[module_id] = FlexStackerSubState( + module_id=FlexStackerId(module_id), + ) def _update_additional_slots_occupied_by_thermocycler( self,