Do not yield here, because then you get the last PSM twice. In the else block you dont break from the while loop but from the upper for loop and then you need to yield
Do not yield here, because then you get the last PSM twice. In the else block you dont break from the while loop but from the upper for loop and then you need to yield

glormph/msstitch