Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-dot committed Aug 27, 2024
1 parent 3aaece3 commit cadd4d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 9 additions & 3 deletions src/dodal/devices/pressure_jump_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,14 @@ def __init__(
adc_prefix: str = "",
name: str = "",
):
self.all_valves_control = AllValvesControl(f"{beamline_prefix}{cell_prefix}", name)
self.all_valves_control = AllValvesControl(
f"{beamline_prefix}{cell_prefix}", name
)
self.pump = Pump(f"{beamline_prefix}{cell_prefix}", name)

self.controller = PressureJumpCellController(f"{beamline_prefix}{cell_prefix}", name)
self.controller = PressureJumpCellController(
f"{beamline_prefix}{cell_prefix}", name
)

with self.add_children_as_readables():
self.pressure_transducers: DeviceVector[PressureTransducer] = DeviceVector(
Expand All @@ -233,6 +237,8 @@ def __init__(
}
)

self.cell_temperature = epics_signal_r(float, f"{beamline_prefix}{cell_prefix}TEMP")
self.cell_temperature = epics_signal_r(
float, f"{beamline_prefix}{cell_prefix}TEMP"
)

super().__init__(name)
3 changes: 0 additions & 3 deletions tests/devices/unit_tests/test_pressure_jump_cell.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@
from ophyd_async.core import DeviceCollector, assert_reading, set_mock_value

from dodal.devices.pressure_jump_cell import (
BusyState,
FastValveState,
LimitSwitchState,
PressureJumpCell,
PumpMotorDirectionState,
TimerState,
ValveState,
)

Expand Down

0 comments on commit cadd4d2

Please sign in to comment.