Skip to content

Commit

Permalink
Merge pull request #447 from hhslepicka/fix_typo
Browse files Browse the repository at this point in the history
FIX: Adding my missing _ that broke a bunch of screens.
  • Loading branch information
mattgibbs authored Dec 6, 2018
2 parents 6e0c338 + c6ebd87 commit 6bd2aaa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def clear_cache(self):
def send_new_value(self, value=None, char_value=None, count=None, typefull=None, type=None, *args, **kws):
self.update_ctrl_vars(**kws)

if value is not None and not np.array_equal(value, self.value):
if value is not None and not np.array_equal(value, self._value):
self._value = value
if isinstance(value, np.ndarray):
self.new_value_signal[np.ndarray].emit(value)
Expand Down
4 changes: 2 additions & 2 deletions pydm/data_plugins/epics_plugins/pyepics_plugin_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def clear_cache(self):
def send_new_value(self, value=None, char_value=None, count=None, ftype=None, type=None, *args, **kws):
self.update_ctrl_vars(**kws)

if value is not None and not np.array_equal(value, self.value):
self.value = value
if value is not None and not np.array_equal(value, self._value):
self._value = value
if isinstance(value, np.ndarray):
self.new_value_signal[np.ndarray].emit(value)
else:
Expand Down

0 comments on commit 6bd2aaa

Please sign in to comment.