Skip to content

Commit 33cd10a

Browse files
committed
preserve old functionality for PositionReference
1 parent a184b69 commit 33cd10a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/src/opentrons/protocol_api/core/engine/transfer_components_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ def absolute_point_from_position_reference_and_offset(
10101010
# assume meniscus is at well center.
10111011
# Will this cause more harm than good? Is there a better alternative to this?
10121012
reference_point = well.get_center()
1013-
case PositionReference.LIQUID_MENISCUS_END:
1013+
case PositionReference.LIQUID_MENISCUS_END | PositionReference.LIQUID_MENISCUS:
10141014
estimated_liquid_height = well.estimate_liquid_height_after_pipetting(
10151015
mount=mount,
10161016
operation_volume=well_volume_difference,

shared-data/python/opentrons_shared_data/liquid_classes/liquid_class_definition.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ class PositionReference(Enum):
6161
WELL_CENTER = "well-center"
6262
LIQUID_MENISCUS_START = "liquid-meniscus-start"
6363
LIQUID_MENISCUS_END = "liquid-meniscus-end"
64+
#Same as liquid meniscus end
65+
LIQUID_MENISCUS = "liquid-meniscus"
6466

6567

6668
class BlowoutLocation(Enum):

0 commit comments

Comments
 (0)