qudi
qudi copied to clipboard
Type error in core/garbage_collector.py
In core/garbage_collector.py, a QTimer's start method is called with a float argument which should be an int argument. Probably in earlier versions of Python/PyQt5 this was implicitly handled, but at least in Python 3.10.6 this halts with a TypeError exception.
To fix, change core/garbage_collector.py line 46 from
self.timer.start(interval * 1000)
To
self.timer.start(round(interval * 1000))