Skip to content

Commit

Permalink
undo api and shared-data edits
Browse files Browse the repository at this point in the history
  • Loading branch information
andySigler committed Aug 6, 2024
1 parent 019ce13 commit a3a0a5c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions api/src/opentrons/hardware_control/ot3api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from dataclasses import replace
import logging
from collections import OrderedDict
from math import isclose
from typing import (
AsyncIterator,
cast,
Expand Down Expand Up @@ -2731,9 +2730,6 @@ async def liquid_probe(
max_z_dist - probe_start_pos.z + pass_start_pos.z
) / probe_settings.mount_speed
p_travel_required_for_z = max_z_time * probe_settings.plunger_speed

# if total_travel_left < working range of plunger axis, dont keep going past the total travel
# min(total_travel_left_to_do, working_range_of_plunger_axis)
p_pass_travel = min(p_travel_required_for_z, p_working_mm)
# Prep the plunger
await self.move_to(checked_mount, safe_plunger_pos)
Expand All @@ -2758,9 +2754,9 @@ async def liquid_probe(
except PipetteLiquidNotFoundError as lnfe:
error = lnfe
pos = await self.gantry_position(checked_mount, refresh=True)
# await self.move_to(checked_mount, probe_start_pos + top_types.Point(z=2))
# await self.prepare_for_aspirate(checked_mount)
# await self.move_to(checked_mount, probe_start_pos)
await self.move_to(checked_mount, probe_start_pos + top_types.Point(z=2))
await self.prepare_for_aspirate(checked_mount)
await self.move_to(checked_mount, probe_start_pos)
if error is not None:
# if we never found liquid raise an error
raise error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"lldSettings": {
"t50": {
"minHeight": 1.5,
"minHeight": 0.5,
"minVolume": 0
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"lldSettings": {
"t50": {
"minHeight": 1.5,
"minHeight": 0.5,
"minVolume": 0
}
}
Expand Down

0 comments on commit a3a0a5c

Please sign in to comment.