Skip to content

Commit

Permalink
call the right method name
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder authored Nov 21, 2024
1 parent 04c4081 commit feaed8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/opentrons/protocol_api/core/engine/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ def retract(self) -> None:
self._engine_client.execute_command(cmd.HomeParams(axes=[z_axis]))

def detect_liquid_presence(self, well_core: WellCore, loc: Location) -> bool:
if not self._sync_hardware_api.pressure_sensor_available(
if not self._sync_hardware_api.get_pressure_sensor_available(
mount=self.get_mount()
):
raise ValueError("Liquid Presence Detection not available.")
Expand Down

0 comments on commit feaed8d

Please sign in to comment.