From bfab28d56b568d68000f5680bc8b6ea5dac8107c Mon Sep 17 00:00:00 2001 From: Laura Cox Date: Mon, 9 Oct 2023 17:56:57 +0300 Subject: [PATCH] formatting and default to 0.0 --- .../pipette/definitions/2/general/eight_channel/p50/3_4.json | 4 ++-- .../pipette/definitions/2/general/eight_channel/p50/3_5.json | 4 ++-- .../opentrons_shared_data/pipette/pipette_definition.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/shared-data/pipette/definitions/2/general/eight_channel/p50/3_4.json b/shared-data/pipette/definitions/2/general/eight_channel/p50/3_4.json index a32d2b2d127..82f9c6c2d38 100644 --- a/shared-data/pipette/definitions/2/general/eight_channel/p50/3_4.json +++ b/shared-data/pipette/definitions/2/general/eight_channel/p50/3_4.json @@ -47,9 +47,9 @@ "partialTipSupported": true, "availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8], "perTipPickupCurrent": { - "1": 0.20, + "1": 0.2, "2": 0.14, - "3": 0.20, + "3": 0.2, "4": 0.28, "5": 0.34, "6": 0.41, diff --git a/shared-data/pipette/definitions/2/general/eight_channel/p50/3_5.json b/shared-data/pipette/definitions/2/general/eight_channel/p50/3_5.json index a32d2b2d127..82f9c6c2d38 100644 --- a/shared-data/pipette/definitions/2/general/eight_channel/p50/3_5.json +++ b/shared-data/pipette/definitions/2/general/eight_channel/p50/3_5.json @@ -47,9 +47,9 @@ "partialTipSupported": true, "availableConfigurations": [1, 2, 3, 4, 5, 6, 7, 8], "perTipPickupCurrent": { - "1": 0.20, + "1": 0.2, "2": 0.14, - "3": 0.20, + "3": 0.2, "4": 0.28, "5": 0.34, "6": 0.41, diff --git a/shared-data/python/opentrons_shared_data/pipette/pipette_definition.py b/shared-data/python/opentrons_shared_data/pipette/pipette_definition.py index c6421bb009a..70e03377339 100644 --- a/shared-data/python/opentrons_shared_data/pipette/pipette_definition.py +++ b/shared-data/python/opentrons_shared_data/pipette/pipette_definition.py @@ -141,7 +141,7 @@ class PlungerPositions(BaseModel): class PlungerHomingConfigurations(BaseModel): current: float = Field( - default=None, + default=0.0, description="Either the z motor current needed for picking up tip or the plunger motor current for dropping tip off the nozzle.", ) speed: float = Field(