Skip to content

Commit 7b7b6e9

Browse files
make homing current config customizableconfigelement
1 parent f9920d0 commit 7b7b6e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

shared-data/python/opentrons_shared_data/pipette/dev_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class PipetteModelSpec(TypedDict, total=False):
155155
pickUpPresses: PipetteCustomizableConfigElementInt
156156
pickUpSpeed: PipetteCustomizableConfigElementFloat
157157
plungerCurrent: PipetteCustomizableConfigElementFloat
158-
plungerHomingCurrent: float
158+
plungerHomingCurrent: PipetteCustomizableConfigElementFloat
159159
dropTipCurrent: PipetteCustomizableConfigElementFloat
160160
dropTipSpeed: PipetteCustomizableConfigElementFloat
161161
modelOffset: List[float]

shared-data/python/opentrons_shared_data/pipette/scripts/build_json_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _build_motor_configurations(
9797
if model_configurations:
9898
run = model_configurations["plungerCurrent"]["value"]
9999
idle = model_configurations.get("idleCurrent", run)
100-
homing = model_configurations.get("plungerHomingCurrent", run)
100+
homing = model_configurations["plungerHomingCurrent"]["value"]
101101
else:
102102
print("Handling default plunger motor currents\n")
103103
idle = float(

0 commit comments

Comments
 (0)