Skip to content

Commit

Permalink
include check for nozzle map configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Jul 19, 2024
1 parent 8c4f50e commit eb10890
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion api/src/opentrons/protocols/advanced_control/transfers.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
from opentrons.protocol_api.labware import Labware, Well
from opentrons import types
from opentrons.protocols.api_support.types import APIVersion
from opentrons.hardware_control.nozzle_manager import NozzleConfigurationType


if TYPE_CHECKING:
Expand Down Expand Up @@ -409,7 +410,11 @@ def __init__(
# then avoid iterating through its Wells.
# ii. if using single channel pipettes, flatten a multi-dimensional
# list of Wells into a 1 dimensional list of Wells
if self._instr.channels > 1:
if (
self._instr.channels > 1
and self._instr._core.get_nozzle_map().configuration
== NozzleConfigurationType.FULL
):
sources, dests = self._multichannel_transfer(sources, dests)
else:
if isinstance(sources, List) and isinstance(sources[0], List):
Expand Down

0 comments on commit eb10890

Please sign in to comment.