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

Separate keep_intervals from simplify #647

Merged
merged 2 commits into from
Jul 4, 2024
Merged

Conversation

molpopgen
Copy link
Member

#635 added keep_intervals.
However, the semantics of simplification add complexity.
IMO, we don't want to faithfully mimic the Python API here.
Rather, we want to separate interval retention from simplification and let the language be the glue.

Ergonomically, the challenge for this PR will be that simplify works on &mut self and keep_intervals on self.

@molpopgen molpopgen marked this pull request as ready for review July 4, 2024 15:07
@molpopgen molpopgen merged commit bb41c91 into main Jul 4, 2024
11 checks passed
@molpopgen molpopgen deleted the refactor_keep_intervals branch July 4, 2024 15:07
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.

1 participant