Skip to content

Commit

Permalink
pass pipette info by arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed May 22, 2024
1 parent 022feb2 commit 270989b
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,13 @@ def _pipette_info_from_network(
if device.subidentifier != 0
else default_name
)
return tools.types.PipetteInformation(
pipette_name.name,
f"dummyserial{pipette_name.name}",
pipette_name,
pipette_name.value,
tool = tools.types.PipetteInformation(
name=pipette_name,
name_int=pipette_name.value,
model=pipette_name.name,
serial=f"dummyserial{pipette_name.name}",
)
return tool

def _auto_tool_summary(
self, devices: Dict[FirmwareTarget, network.DeviceInfoCache]
Expand Down

0 comments on commit 270989b

Please sign in to comment.