-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor iter fix, better meta_info, simplify
* Fix off-by-one error in len() method of InMemoryAlignmentStore this was previously returning 1 too many elements. Practically, this is unlikely to result in any difference, but the implementation now should return the proper lenght. Also, `ExactSizeIterator` has been implemented in the idiomatic way (providing and exact `size_hint()` in the `Iterator` implementation and just declaring the iterator as an `ExactSizeIterator`). * Output more information in the `meta_info.json` file produced by `oarfish`. * Simplify the implementation of the SampleWithReplacementIterator; removing the old iterator and replacing it with a new, simpler iterator with direct access to the `InMemoryAlignmentStore`.
- Loading branch information
Rob Patro
committed
Mar 3, 2024
1 parent
4e559ee
commit b1e4f73
Showing
5 changed files
with
92 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters