lambdaloop/aniposelib

setting `verbose=True` in `cgroup.calibrate_videos` spawns a Thread in `boards.detect_video` that doesn't terminate properly

jonmatthis opened this issue · 0 comments

This caused an issue for me when I was trying to put cgroup.calibrate_videos in a try: except: block to try to iteratively re-run Anipose with different sections of input videos whenever Anipose failed to produce a calibration.

As far as I can tell, this un-closed thread would sometimes cause one iteration to to jump out of the try-except block with another iteration was still trying to run.

The thread seems to be spawned at line 319 of boards.py (it = trange(length, ncols=70))