Skip to content

Expect 104 kinship rows, old script counted invented parents - #304

Merged
ankurjuneja merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_fixPedigreeTest
Sep 25, 2026
Merged

ankurjuneja merged 1 commit into
release26.7-SNAPSHOTfrom
26.7_fb_fixPedigreeTest

Conversation

@ankurjuneja

Copy link
Copy Markdown

Rationale

The expected kinship row count drops from 136 to 104 with the new populateKinship.r due to three animals in the test sample data have only one fake parent (999915, 999916, or 999917 - these IDs are not in the pedigree, not in study.demographic) on file. The old script used kinship2, which makes up a fake second parent in that case. It tried to remove those fakes by name, but that check only worked when animal ids are text, and the test uses numbers so three made up animals ended up in ehr.kinship. The new script does not make up parents, so their 32 rows are gone.

Related Pull Requests

Changes

@ankurjuneja
ankurjuneja merged commit e089a4a into release26.7-SNAPSHOT Sep 25, 2026
10 checks passed
@ankurjuneja
ankurjuneja deleted the 26.7_fb_fixPedigreeTest branch September 25, 2026 18:11
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