Skip to content

Preserve initial tables when adding populations - #2555

Closed
rpinho wants to merge 2 commits into
tskit-dev:mainfrom
rpinho:fix-ancestry-initial-tables
Closed

rpinho wants to merge 2 commits into
tskit-dev:mainfrom
rpinho:fix-ancestry-initial-tables

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown

Continuing ancestry with a demography containing more populations can raise on ts.tables or change the contents of ts.dump_tables(). Stop a simulation and continue from its tables with a split to a population absent from the input. The patch copies tables when adding populations and records table views as references in provenance. The test compares continuations from the inputs, checks the input tables, and replays the provenance.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

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