Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify cryptic bitwise operations in Partiall-determined haplotype EventGroup subclass #8400

Merged
merged 7 commits into from
Jul 27, 2023

Conversation

davidbenjamin
Copy link
Contributor

@davidbenjamin davidbenjamin commented Jun 30, 2023

@jamesemery Another DRAGEN PR for you. No change in output, but it lays some of the groundwork for having multiple determined events at one locus and will make addition of more features easier.

It runs just as fast as before -- the bit-twiddling is encapsulated, but it's still there.

Copy link
Collaborator

@jamesemery jamesemery left a comment

Choose a reason for hiding this comment

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

👍 A few documentation requests and exactly one material comment that if the bitset object is going to be limited to 30 elements you should put more guardrails into the thing (unless you want to make it a private class) to protect against having to find out what an overflow does here...

I trust you can address those comments and merge without me blocking you again on this.

@davidbenjamin davidbenjamin merged commit a8b4145 into master Jul 27, 2023
@davidbenjamin davidbenjamin deleted the db_bitsets branch July 27, 2023 23:44
rickymagner pushed a commit that referenced this pull request Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants