Skip to content

Commit

Permalink
addition of all 96ch configurations to tip tracking available check
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Feb 13, 2024
1 parent 13e5d86 commit 31e2754
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
8 changes: 1 addition & 7 deletions api/src/opentrons/protocol_api/core/engine/instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,13 +703,7 @@ def is_tip_tracking_available(self) -> bool:
return True
else:
if self.get_channels() == 96:
# SINGLE configuration with H12 nozzle is technically supported by the
# current tip tracking implementation but we don't do any deck conflict
# checks for it, so we won't provide full support for it yet.
return (
self.get_nozzle_configuration() == NozzleConfigurationType.COLUMN
and primary_nozzle == "A12"
)
return True
if self.get_channels() == 8:
return (
self.get_nozzle_configuration() == NozzleConfigurationType.SINGLE
Expand Down
14 changes: 7 additions & 7 deletions api/src/opentrons/protocol_api/instrument_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,13 +876,13 @@ def pick_up_tip( # noqa: C901
)

if location is None:
# if not self._core.is_tip_tracking_available():
# raise CommandPreconditionViolated(
# "Automatic tip tracking is not available for the current pipette"
# " nozzle configuration. We suggest switching to a configuration"
# " that supports automatic tip tracking or specifying the exact tip"
# " to pick up."
# )
if not self._core.is_tip_tracking_available():
raise CommandPreconditionViolated(
"Automatic tip tracking is not available for the current pipette"
" nozzle configuration. We suggest switching to a configuration"
" that supports automatic tip tracking or specifying the exact tip"
" to pick up."
)
tip_rack, well = labware.next_available_tip(
starting_tip=self.starting_tip,
tip_racks=self.tip_racks,
Expand Down

0 comments on commit 31e2754

Please sign in to comment.