Avoid infinite loop in `mine()` when there are no overlapping tracklets by jeylau · Pull Request #2525 · DeepLabCut/DeepLabCut

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add more information suggesting it's because only one animal is found from the assembly?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot be certain about it though: very sparse (bad) tracklets could also cause that. This warning if nm_animal==1 could be shown much higher up before creating a tracklet dataset. What do you think?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Then I don't have other questions