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

Minor change to descendant_tree to apply recent Haplotype changes to SimpleAllele and add a self-contained test #200

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

theferrit32
Copy link
Contributor

Make SimpleAllele descendant_tree handling match haplotype and genotype. Add stripped down descendant_tree test for all types.

This does not affect outputs for real XML inputs because SimpleAlleles don't have descendants, but this does impact intermediate data structures and just makes the layout of the tree for each variant type the same which may help consistency when debugging.

It also adds a test that defines the most simple structure of variants that can be passed into Variation.descendant_tree and validates the return value for every type on its own and in combination.

…pe. Add stripped down descendant_tree test for all types
@theferrit32 theferrit32 self-assigned this Jul 22, 2024
@theferrit32 theferrit32 merged commit 940d6cf into main Jul 22, 2024
2 checks passed
@theferrit32 theferrit32 deleted the descendant-tree-simplealleles branch July 22, 2024 18:30
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