Skip to content

Commit

Permalink
rm unneeded core function
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Jan 28, 2025
1 parent 7af9d88 commit f0896eb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
6 changes: 0 additions & 6 deletions api/src/opentrons/protocol_api/core/engine/labware.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from opentrons.protocol_engine.types import (
LabwareOffsetCreate,
LabwareOffsetVector,
WellLiquidInfo,
)
from opentrons.types import DeckSlotName, NozzleMapInterface, Point, StagingSlotName

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

def well_liquid_state(self, well_id: str) -> WellLiquidInfo:
well_state = self._engine_client.state.wells
well_liquid_info = well_state.get_well_liquid_info(self._labware_id, well_id)
return well_liquid_info

def load_empty(self, wells: List[str]) -> None:
"""Mark wells of the labware as empty."""
self._engine_client.execute_command(
Expand Down
5 changes: 0 additions & 5 deletions api/src/opentrons/protocol_api/core/labware.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
LabwareParameters as LabwareParametersDict,
LabwareDefinition as LabwareDefinitionDict,
)
from opentrons.protocol_engine.types import WellLiquidInfo

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

@abstractmethod
def well_liquid_state(self, well_id: str) -> WellLiquidInfo:
"""Get well liquid state."""

@abstractmethod
def estimate_liquid_height_after_pipetting(
self,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import List, Optional, Dict, Any
from typing import List, Optional, Dict

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

def well_liquid_state(self, well_id: str) -> Any:
return {}

def estimate_liquid_height_after_pipetting(
self,
well_core: LegacyWellCore,
Expand Down

0 comments on commit f0896eb

Please sign in to comment.