Skip to content

Commit

Permalink
Ensure self.type is connected
Browse files Browse the repository at this point in the history
  • Loading branch information
DiamondJoseph committed Jun 14, 2024
1 parent efa3067 commit 2277c73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dodal/devices/tetramm.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,10 @@ def __init__(
self.drv.sample_time,
]
if type:
type_signal, _ = soft_signal_r_and_setter(str, type)
config_signals.append(type_signal)
self.type, _ = soft_signal_r_and_setter(str, type)
config_signals.append(self.type)
else:
self.type = None
super().__init__(
controller,
HDFWriter(
Expand Down

0 comments on commit 2277c73

Please sign in to comment.