Maximum runtime for gpu template matching is hardcoded. The GPU template matching class is a subclass of threading.Thread, i.e. started as a thread. The main processes needs to keep check whether the thread finished which is done with the max run time. I dont see why the template matching class needs to be a Thread subclass at all.
Maximum runtime for gpu template matching is hardcoded. The GPU template matching class is a subclass of threading.Thread, i.e. started as a thread. The main processes needs to keep check whether the thread finished which is done with the max run time. I dont see why the template matching class needs to be a Thread subclass at all.
Maximum runtime is defined here: https://github.com/FridoF/PyTomPrivate/blob/5ecf60d123ddc820d34d8fffca8b1e657f57ede4/pytom/localization/extractPeaks.py#L254