Skip to content

Commit

Permalink
Comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Dec 13, 2023
1 parent 7ef4e5d commit a068a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/opentrons/protocol_api/protocol_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,8 @@ def load_instrument(
"""
instrument_name = validation.ensure_lowercase_name(instrument_name)
checked_instrument_name = validation.ensure_pipette_name(instrument_name)
# Always validate the input mount, even if we're loading a 96-channel and the mount doesn't
# matter.
checked_mount = validation.ensure_mount(mount)

is_96_channel = checked_instrument_name == PipetteNameType.P1000_96
Expand Down

0 comments on commit a068a45

Please sign in to comment.