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

Test_pedigree.py with internal samples #2326

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abureau
Copy link

@abureau abureau commented Oct 24, 2024

I have modified TestSimulateThroughPedigree and the simulate_pedigree function to specify generations of subjects as internal samples. Setting internal_sample_gen=[True, False] on line 562 specifies that founders i.e. parents of a two-generation pedigree are samples, but not their children (probands). This results in Fatal Python error: Aborted with core dump in my setup.

@abureau
Copy link
Author

abureau commented Oct 25, 2024

I continue here the discussion of the closed pull request. I inserted the command
tables.dump("test_shallow_internal.ts")
at line 564 of test_pedigree.py. Then I called
python3 algorithms.py --from-ts test_shallow_internal.ts 4 test.ts
and got no error message. The tree object in the output test.ts seems fine, but I am not sure what to inspect.

No rush to reply, I just report now for later.

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.

1 participant