Skip to content

ms to msprime conversion error (using demes.from_ms) #2069

Answered by grahamgower
mshpak76 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @mshpak76. The error is because you need to specify the second parameter (and third) by name. So it needs to be from_ms(cmd, N0=10000) rather than from_ms(cmd, 10000). Your edited code example works for me!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by mshpak76
Comment options

You must be logged in to vote
1 reply
@grahamgower
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants