Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Nov 22, 2024
1 parent 5032144 commit 0afbfeb
Show file tree
Hide file tree
Showing 2 changed files with 238 additions and 241 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,11 @@ def get_pipette_static_config(
"""Get the config for a pipette, given the state/config object from the HW API."""
back_left_offset = pipette_dict["pipette_bounding_box_offsets"].back_left_corner
front_right_offset = pipette_dict["pipette_bounding_box_offsets"].front_right_corner
available_sensors = pipette_dict["available_sensors"] if "available_sensors" in pipette_dict.keys() else pipette_definition.AvailableSensorDefinition(sensors=[])
available_sensors = (
pipette_dict["available_sensors"]
if "available_sensors" in pipette_dict.keys()
else pipette_definition.AvailableSensorDefinition(sensors=[])
)
return LoadedStaticPipetteData(
model=pipette_dict["model"],
display_name=pipette_dict["display_name"],
Expand Down
Loading

0 comments on commit 0afbfeb

Please sign in to comment.