Skip to content

Commit

Permalink
Merge branch 'master' into update-dvf
Browse files Browse the repository at this point in the history
  • Loading branch information
xresende committed Mar 6, 2023
2 parents 8a43587 + 2eed0d8 commit 173a062
Show file tree
Hide file tree
Showing 9 changed files with 881 additions and 755 deletions.
2 changes: 1 addition & 1 deletion siriuspy/siriuspy/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.67.2
2.68.0
4 changes: 4 additions & 0 deletions siriuspy/siriuspy/clientarch/pvarch.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,12 @@ def update(self, mean_sec=None, parallel=True):
data = self.connector.getData(
self._pvnames, timestamp_start, timestamp_stop,
process_type=process_type, interval=mean_sec)

if not data:
return
if len(self._pvnames) == 1:
pvname = self._pvnames[0]
data = {pvname: data}
for pvname in self._pvnames:
self._pvdata[pvname].set_data(**data[pvname])

Expand Down
Loading

0 comments on commit 173a062

Please sign in to comment.