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

Document rf_distance() #3032

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Document rf_distance() #3032

merged 2 commits into from
Oct 16, 2024

Conversation

hyanwong
Copy link
Member

@hyanwong hyanwong commented Oct 16, 2024

In the first commit in the PR, I have moved all the kc_distance testing from test_topology.py into the new test_distance_metrics.py file, created by @Billyzhang1229 for the rf tests. This seems more logical, and usefully slims down the huge test_topology.py file. At some point we might want to rationalise that file though, as the kc_ testing and the rf_ testing take rather different approaches.

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.

Great, thanks @hyanwong

@jeromekelleher
Copy link
Member

Can you add rf_distance to the CHANGELOG while you're here? Crediting Ao

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.07%. Comparing base (baac2aa) to head (3f1cf47).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3032   +/-   ##
=======================================
  Coverage   87.07%   87.07%           
=======================================
  Files          11       11           
  Lines       24666    24666           
  Branches     4556     4556           
=======================================
  Hits        21478    21478           
  Misses       1824     1824           
  Partials     1364     1364           
Flag Coverage Δ
c-tests 86.69% <ø> (ø)
lwt-tests 80.78% <ø> (ø)
python-c-tests 89.05% <ø> (ø)

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

@benjeffery
Copy link
Member

I assume this covers #2992? Thanks @hyanwong that was the last issue for 0.6.0!

@hyanwong
Copy link
Member Author

Changelog added. Let's get this baby shipped @benjeffery !

@benjeffery benjeffery added the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Oct 16, 2024
@benjeffery
Copy link
Member

@Mergifyio rebase

Copy link
Contributor

mergify bot commented Oct 16, 2024

rebase

✅ Branch has been successfully rebased

@benjeffery benjeffery merged commit 05f8bef into tskit-dev:main Oct 16, 2024
1 of 13 checks passed
@mergify mergify bot removed the AUTOMERGE-REQUESTED Ask Mergify to merge this PR label Oct 16, 2024
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.

3 participants