Skip to content

Commit

Permalink
fix(api): Maintain existing nozzle manager for reloaded virtual pipet…
Browse files Browse the repository at this point in the history
…tes (#16231)

Covers RQA-3160
Ensures that we use any existing nozzle manager whenever a
virtual pipette is loaded/built.
  • Loading branch information
CaseyBatten authored Sep 10, 2024
1 parent 176e494 commit ff6a36f
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,12 @@ def _get_virtual_pipette_static_config_by_model( # noqa: C901
pipette_model.pipette_channels,
pipette_model.pipette_version,
)
nozzle_manager = NozzleConfigurationManager.build_from_config(
config, valid_nozzle_maps
)
if pipette_id not in self._nozzle_manager_layout_by_id:
nozzle_manager = NozzleConfigurationManager.build_from_config(
config, valid_nozzle_maps
)
else:
nozzle_manager = self._nozzle_manager_layout_by_id[pipette_id]

tip_overlap_dict_for_tip_type = None
for configuration in (
Expand Down

0 comments on commit ff6a36f

Please sign in to comment.