Skip to content

Commit

Permalink
pipette data provider error update
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyBatten committed Jun 11, 2024
1 parent 6702599 commit d33c225
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
NozzleConfigurationManager,
NozzleMap,
)
from opentrons_shared_data.errors.exceptions import MissingConfigurationData

from ..types import FlowRates
from ...types import Point
Expand Down Expand Up @@ -181,8 +182,8 @@ def _get_virtual_pipette_static_config_by_model( # noqa: C901
):
approved_map = map_key
if approved_map is None:
raise ValueError(
"Virtual Static Nozzle Configuration does not match any approved map layout for the current pipette."
raise MissingConfigurationData(
message="Virtual Static Nozzle Configuration does not match any approved map layout for the current pipette."
)

if configuration is not None:
Expand Down

0 comments on commit d33c225

Please sign in to comment.