Skip to content

Fixup num_tracked_samples to work with virtual_root #1861

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

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

jeromekelleher
Copy link
Member

Closes #1724

I haven't tested the set_from_sample_list as I'm kinda hoping to delete that code path.

@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #1861 (5a734e7) into main (bcd1e96) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1861   +/-   ##
=======================================
  Coverage   93.13%   93.14%           
=======================================
  Files          27       27           
  Lines       24916    24916           
  Branches     1096     1094    -2     
=======================================
+ Hits        23206    23207    +1     
+ Misses       1675     1674    -1     
  Partials       35       35           
Flag Coverage Δ
c-tests 92.21% <100.00%> (+<0.01%) ⬆️
lwt-tests 89.14% <ø> (ø)
python-c-tests 68.59% <0.00%> (+0.01%) ⬆️
python-tests 98.78% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
c/tskit/trees.c 94.96% <100.00%> (+0.03%) ⬆️
python/tskit/trees.py 97.90% <100.00%> (-0.01%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcd1e96...5a734e7. Read the comment docs.

Copy link
Member

@benjeffery benjeffery left a comment

Choose a reason for hiding this comment

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

LGTM!

@mergify mergify bot merged commit 557b8c0 into tskit-dev:main Nov 2, 2021
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.

Fixup tracked_samples to work properly with virtual_root
2 participants