Skip to content

Commit

Permalink
Update to 2023-1.0-py310-tiled
Browse files Browse the repository at this point in the history
  • Loading branch information
HXN Operator committed Jan 17, 2023
1 parent a56e664 commit 515211c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Empty file.
2 changes: 1 addition & 1 deletion hxnfly/callbacks/flydata.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def stop_subscan_checker(self):
self._subscan_checker_enabled = False

def _schedule_subscan_check(self):
QtCore.QTimer.singleShot(self._subscan_rate * 1000, self.check_subscan)
QtCore.QTimer.singleShot(int(self._subscan_rate * 1000), self.check_subscan)

def check_subscan(self):

Expand Down
2 changes: 1 addition & 1 deletion hxnfly/callbacks/liveplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _update(self):
finally:
# loop.call_later(self.rate, self._update)
if self._continue_updates:
QtCore.QTimer.singleShot(self.rate * 1000, self._update)
QtCore.QTimer.singleShot(int(self.rate * 1000), self._update)


def scan_started(self, doc, ndim, fast_axis=None, **scan_args):
Expand Down

0 comments on commit 515211c

Please sign in to comment.