Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sasatani committed Nov 27, 2024
1 parent c638ebe commit e6a24de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions miniscope_io/models/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ class ADCScaling(MiniscopeConfig):
battery_max_voltage: float = Field(
10.0,
description="Maximum voltage of the battery."
"Scaled battery voltage will be 0 if it is greater than this value",
"Scaled battery voltage will be 0 if it is greater than this value",
)
vin_max_voltage: float = Field(
20.0,
description="Maximum voltage of the Vin"
"Scaled Vin voltage will be 0 if it is greater than this value",
"Scaled Vin voltage will be 0 if it is greater than this value",
)

def scale_battery_voltage(self, voltage_raw: float) -> float:
Expand Down

0 comments on commit e6a24de

Please sign in to comment.