Skip to content

Issues with .to_demes() specifically .add_pulse() #1918

Answered by apragsdale
David-Peede asked this question in Q&A
Discussion options

You must be logged in to vote

Hi David - looks like you're using demes built from the most up to date state of the repo instead of the most recent release (demes-0.1.2). Since demes-0.1.2, we've changed the pulses to allow for simultaneous sources, instead of only allowing one at a time. Msprime is still set up to work with demes-0.1.2, since those changes to pulses haven't been released yet. But in both cases, the dest should still be given as the name of the receiving deme, instead of as a list. Does that fix the issue for you, at least in your demes_graph_builder() function?

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@apragsdale
Comment options

@David-Peede
Comment options

@apragsdale
Comment options

@David-Peede
Comment options

@apragsdale
Comment options

Answer selected by David-Peede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants