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

Relational distance off-by-one #8

Closed
rhagenson opened this issue Nov 1, 2019 · 0 comments
Closed

Relational distance off-by-one #8

rhagenson opened this issue Nov 1, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@rhagenson
Copy link
Owner

I realized just now (after not seeing any parent-offspring relationships in the pedigree) that I have an off-by-one error. I use a distance of 1 to represent a parent-offspring relationship (the child is 1 link away from parent, and vice versa). However, when I add "unknowns" I add the same number as reported distance. Therefore I am over-creating unknown individuals by 1 each time.

@rhagenson rhagenson added the bug Something isn't working label Nov 1, 2019
@rhagenson rhagenson self-assigned this Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant