Skip to content

Commit f0896eb

Browse files
rm unneeded core function
1 parent 7af9d88 commit f0896eb

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

api/src/opentrons/protocol_api/core/engine/labware.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from opentrons.protocol_engine.types import (
2020
LabwareOffsetCreate,
2121
LabwareOffsetVector,
22-
WellLiquidInfo,
2322
)
2423
from opentrons.types import DeckSlotName, NozzleMapInterface, Point, StagingSlotName
2524

@@ -217,11 +216,6 @@ def load_liquid(self, volumes: Dict[str, float], liquid: Liquid) -> None:
217216
)
218217
)
219218

220-
def well_liquid_state(self, well_id: str) -> WellLiquidInfo:
221-
well_state = self._engine_client.state.wells
222-
well_liquid_info = well_state.get_well_liquid_info(self._labware_id, well_id)
223-
return well_liquid_info
224-
225219
def load_empty(self, wells: List[str]) -> None:
226220
"""Mark wells of the labware as empty."""
227221
self._engine_client.execute_command(

api/src/opentrons/protocol_api/core/labware.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
LabwareParameters as LabwareParametersDict,
1111
LabwareDefinition as LabwareDefinitionDict,
1212
)
13-
from opentrons.protocol_engine.types import WellLiquidInfo
1413

1514
from opentrons.types import DeckSlotName, Point, NozzleMapInterface
1615
from .._liquid import Liquid
@@ -144,10 +143,6 @@ def load_liquid(self, volumes: Dict[str, float], liquid: Liquid) -> None:
144143
def load_empty(self, wells: List[str]) -> None:
145144
"""Mark wells of the labware as empty."""
146145

147-
@abstractmethod
148-
def well_liquid_state(self, well_id: str) -> WellLiquidInfo:
149-
"""Get well liquid state."""
150-
151146
@abstractmethod
152147
def estimate_liquid_height_after_pipetting(
153148
self,

api/src/opentrons/protocol_api/core/legacy/legacy_labware_core.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from typing import List, Optional, Dict, Any
1+
from typing import List, Optional, Dict
22

33
from opentrons.calibration_storage import helpers
44
from opentrons.protocols.geometry.labware_geometry import LabwareGeometry
@@ -230,9 +230,6 @@ def load_empty(self, wells: List[str]) -> None:
230230
"""Mark wells of the labware as empty."""
231231
assert False, "load_empty only supported in API version 2.22 & later"
232232

233-
def well_liquid_state(self, well_id: str) -> Any:
234-
return {}
235-
236233
def estimate_liquid_height_after_pipetting(
237234
self,
238235
well_core: LegacyWellCore,

0 commit comments

Comments
 (0)