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

Insert merged lineage #2300

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

jeromekelleher
Copy link
Member

More work on #2294

Factor out a bunch of repetitive and complicated code from the key merge_ancestors functions.

Pyhhon: Factor out common logic from merge_ancestors and merge_two ancestors
Abstract out details of adding in merged lineage
Copy link

codecov bot commented Aug 1, 2024

Codecov Report

Attention: Patch coverage is 75.64103% with 19 lines in your changes missing coverage. Please review.

Project coverage is 91.03%. Comparing base (fcfeffc) to head (d7b9eec).

Files Patch % Lines
lib/msprime.c 75.64% 10 Missing and 9 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2300      +/-   ##
==========================================
+ Coverage   90.94%   91.03%   +0.09%     
==========================================
  Files          20       20              
  Lines       12043    12023      -20     
  Branches     2450     2439      -11     
==========================================
- Hits        10952    10945       -7     
+ Misses        602      595       -7     
+ Partials      489      483       -6     
Flag Coverage Δ
C 91.03% <75.64%> (+0.09%) ⬆️
python 98.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jeromekelleher
Copy link
Member Author

Low coverage in diff can't be helped here, a large fraction of the update is unreachable

@jeromekelleher jeromekelleher merged commit 590a9d5 into tskit-dev:main Aug 2, 2024
13 of 14 checks passed
@jeromekelleher jeromekelleher deleted the insert-merged-lineage branch August 2, 2024 11:04
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