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

merge_overlaps loses values #21

Open
jeffutter opened this issue Dec 5, 2023 · 1 comment · May be fixed by #23
Open

merge_overlaps loses values #21

jeffutter opened this issue Dec 5, 2023 · 1 comment · May be fixed by #23
Labels
enhancement New feature or request

Comments

@jeffutter
Copy link

merge_overlaps seems to take the value from the first Interval that overlaps and the other value is lost. I'm not sure the best way to handle this? Maybe a user-provided merge function that lets you create a new value when merging two ranges?

@sstadick sstadick added the enhancement New feature or request label Dec 6, 2023
@sstadick
Copy link
Owner

sstadick commented Dec 6, 2023

Thanks for making an issue! That is a good point. a user provided merge function might be the way to go. I'm not planning on doing any work on this soon, always open to PRs, but will make sure something is included when a future release happens!

bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
@bennobuilder bennobuilder linked a pull request Mar 19, 2024 that will close this issue
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 19, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 20, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 28, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 28, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 29, 2024
bennobuilder added a commit to bennobuilder/rust-lapper that referenced this issue Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants