Adoni5 / mappy-rs

Python wrapping multithreaded bindings to minimap2
MIT License
5 stars 0 forks source link

Fix gen and timings #35

Closed Adoni5 closed 1 year ago

Adoni5 commented 1 year ago

This pull request should fix the issues we have seen with timing concurrency and just sending stop iteration back too early to python.

I have added a counter on AlignmentBatchResultIter that should only return StopIteration once all threads have encountered a WorkQueue::Done.