Skip to content

Commit 27c5045

Browse files
andySiglerTamarZanzouri
authored andcommitted
fix(api): correctionVolume can be negative (#17413)
1 parent 9a16e88 commit 27c5045

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

api/src/opentrons/protocol_engine/commands/pipetting_common.py

-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ class AspirateVolumeMixin(BaseModel):
4848
correctionVolume: Optional[float] = Field(
4949
None,
5050
description="The correction volume in uL.",
51-
ge=0,
5251
)
5352

5453

@@ -65,7 +64,6 @@ class DispenseVolumeMixin(BaseModel):
6564
correctionVolume: Optional[float] = Field(
6665
None,
6766
description="The correction volume in uL.",
68-
ge=0,
6967
)
7068

7169

shared-data/command/schemas/12.json

-8
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"correctionVolume": {
6868
"anyOf": [
6969
{
70-
"minimum": 0.0,
7170
"type": "number"
7271
},
7372
{
@@ -176,7 +175,6 @@
176175
"correctionVolume": {
177176
"anyOf": [
178177
{
179-
"minimum": 0.0,
180178
"type": "number"
181179
},
182180
{
@@ -215,7 +213,6 @@
215213
"correctionVolume": {
216214
"anyOf": [
217215
{
218-
"minimum": 0.0,
219216
"type": "number"
220217
},
221218
{
@@ -413,7 +410,6 @@
413410
"correctionVolume": {
414411
"anyOf": [
415412
{
416-
"minimum": 0.0,
417413
"type": "number"
418414
},
419415
{
@@ -1521,7 +1517,6 @@
15211517
"correctionVolume": {
15221518
"anyOf": [
15231519
{
1524-
"minimum": 0.0,
15251520
"type": "number"
15261521
},
15271522
{
@@ -1565,7 +1560,6 @@
15651560
"correctionVolume": {
15661561
"anyOf": [
15671562
{
1568-
"minimum": 0.0,
15691563
"type": "number"
15701564
},
15711565
{
@@ -1651,7 +1645,6 @@
16511645
"correctionVolume": {
16521646
"anyOf": [
16531647
{
1654-
"minimum": 0.0,
16551648
"type": "number"
16561649
},
16571650
{
@@ -1914,7 +1907,6 @@
19141907
"correctionVolume": {
19151908
"anyOf": [
19161909
{
1917-
"minimum": 0.0,
19181910
"type": "number"
19191911
},
19201912
{

0 commit comments

Comments
 (0)