File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
api/src/opentrons/protocols/advanced_control Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 23
23
from opentrons .protocol_api import InstrumentContext
24
24
from opentrons .protocols .execution .dev_types import Dictable
25
25
26
+ _PARTIAL_TIP_SUPPORT_ADDED = APIVersion (2 , 18 )
27
+ """The version after which partial tip support and nozzle maps were made available."""
28
+
26
29
27
30
class MixStrategy (enum .Enum ):
28
31
BOTH = enum .auto ()
@@ -410,10 +413,14 @@ def __init__(
410
413
# then avoid iterating through its Wells.
411
414
# ii. if using single channel pipettes, flatten a multi-dimensional
412
415
# list of Wells into a 1 dimensional list of Wells
416
+ pipette_configuration_type = NozzleConfigurationType .FULL
417
+ if self ._api_version >= _PARTIAL_TIP_SUPPORT_ADDED :
418
+ pipette_configuration_type = (
419
+ self ._instr ._core .get_nozzle_map ().configuration
420
+ )
413
421
if (
414
422
self ._instr .channels > 1
415
- and self ._instr ._core .get_nozzle_map ().configuration
416
- == NozzleConfigurationType .FULL
423
+ and pipette_configuration_type == NozzleConfigurationType .FULL
417
424
):
418
425
sources , dests = self ._multichannel_transfer (sources , dests )
419
426
else :
You can’t perform that action at this time.
0 commit comments