Skip to content

Commit

Permalink
removed unneccessary record info
Browse files Browse the repository at this point in the history
  • Loading branch information
evalott100 committed Jun 14, 2024
1 parent 3d115b0 commit 2b4dd20
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/pandablocks_ioc/ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -890,11 +890,8 @@ def capture_record_on_update(new_capture_mode):
on_update=capture_record_on_update,
)

capture_record_info = RecordInfo(
data_type_func=builder.mbbOut, labels=labels, is_in_record=False
)
capture_record_updater = _RecordUpdater(
capture_record_info,
record_dict[capture_record_name],
self._record_prefix,
self._client,
self._all_values_dict,
Expand Down Expand Up @@ -1074,11 +1071,8 @@ def capture_record_on_update(new_capture_mode):
initial_value=capture_index,
on_update=capture_record_on_update,
)
capture_record_info = RecordInfo(
data_type_func=builder.mbbOut, labels=labels, is_in_record=False
)
capture_record_updater = _RecordUpdater(
capture_record_info,
record_dict[capture_record_name],
self._record_prefix,
self._client,
self._all_values_dict,
Expand Down

0 comments on commit 2b4dd20

Please sign in to comment.