MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / Worker

Class Worker

deeplabcut/gui/utils.py:25–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24
25class Worker(QtCore.QObject):
26 finished = QtCore.Signal()
27
28 def __init__(self, func):
29 super().__init__()
30 self.func = func
31
32 def run(self):
33 self.func()
34 self.finished.emit()
35
36
37class CaptureWorker(Worker):

Callers 1

move_to_separate_threadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected