Skip to content

Address #148 - #197

Merged
jeromekelleher merged 1 commit into
tskit-dev:masterfrom
hyanwong:GNN-for-internal-nodes
Jun 6, 2019
Merged

jeromekelleher merged 1 commit into
tskit-dev:masterfrom
hyanwong:GNN-for-internal-nodes

Conversation

@hyanwong

@hyanwong hyanwong commented Jun 5, 2019

Copy link
Copy Markdown
Member

If we ask for the GNN of an internal node then we need not go to the parent before looking for descendants. Note that the word "neighbour" in GNN might be a bit misleading here, but it is the most logical thing to do. Indeed, if we ask for the GNN of the root node there is no defined behaviour otherwise (as it has no parent).

@codecov

codecov Bot commented Jun 5, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #197 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #197   +/-   ##
=======================================
  Coverage   86.01%   86.01%           
=======================================
  Files          16       16           
  Lines        8745     8745           
  Branches     1680     1680           
=======================================
  Hits         7522     7522           
  Misses        732      732           
  Partials      491      491
Flag Coverage Δ
#c_tests 86.01% <100%> (ø) ⬆️
#python_tests 98.28% <ø> (ø) ⬆️
Impacted Files Coverage Δ
c/tskit/trees.c 87.96% <100%> (ø) ⬆️

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 07cde47...9d31751. Read the comment docs.

@jeromekelleher

Copy link
Copy Markdown
Member

Excellent, thanks @hyanwong!

@jeromekelleher
jeromekelleher merged commit ab082a8 into tskit-dev:master Jun 6, 2019
@hyanwong
hyanwong deleted the GNN-for-internal-nodes branch July 1, 2019 09:18
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.

2 participants