Skip to content

Commit

Permalink
update helpers_ot3
Browse files Browse the repository at this point in the history
  • Loading branch information
sanni-t committed Feb 12, 2024
1 parent 16d0788 commit cec63f9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,10 +567,12 @@ async def update_pick_up_current(
async def update_pick_up_distance(
api: OT3API, mount: OT3Mount, distance: float = 17.0
) -> None:
"""Update pick-up-tip current."""
"""Update pick-up-tip distance."""
pipette = _get_pipette_from_mount(api, mount)
config_model = pipette.pick_up_configurations.press_fit
config_model.distance = distance
config_model.distance_by_tip_count = {
k: distance for k in config_model.distance_by_tip_count.keys()
}
pipette.pick_up_configurations.press_fit = config_model


Expand Down

0 comments on commit cec63f9

Please sign in to comment.