Skip to content

Make TreeSequence.samples args kw only #1831

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

benjeffery
Copy link
Member

Fixes #1715

@codecov
Copy link

codecov bot commented Oct 21, 2021

Codecov Report

Merging #1831 (cccddfb) into main (039dca0) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head cccddfb differs from pull request most recent head fb66eac. Consider uploading reports for the commit fb66eac to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1831      +/-   ##
==========================================
- Coverage   93.39%   93.39%   -0.01%     
==========================================
  Files          27       27              
  Lines       24818    24814       -4     
  Branches     1094     1094              
==========================================
- Hits        23179    23175       -4     
  Misses       1604     1604              
  Partials       35       35              
Flag Coverage Δ
c-tests 92.12% <ø> (ø)
lwt-tests 89.14% <ø> (ø)
python-c-tests 94.53% <100.00%> (-0.01%) ⬇️
python-tests 98.75% <100.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
python/tskit/trees.py 97.83% <100.00%> (ø)
python/tskit/metadata.py 98.84% <0.00%> (-0.01%) ⬇️
python/tskit/exceptions.py 100.00% <0.00%> (ø)

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 039dca0...fb66eac. Read the comment docs.

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

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

LGTM. Nice to have a rudimentary test somewhere, though.

@benjeffery
Copy link
Member Author

Test added and set to merge.

@benjeffery benjeffery added the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Oct 21, 2021
@mergify mergify bot merged commit 6c4bef8 into tskit-dev:main Oct 21, 2021
@mergify mergify bot removed the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Oct 21, 2021
@benjeffery benjeffery deleted the samples_args branch October 21, 2021 13:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make arguments after population in TreeSequence.samples keyword only
2 participants