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

Consider exporting parts of demes/ms.py in a public API. #331

Open
grahamgower opened this issue Jun 14, 2021 · 0 comments
Open

Consider exporting parts of demes/ms.py in a public API. #331

grahamgower opened this issue Jun 14, 2021 · 0 comments

Comments

@grahamgower
Copy link
Member

For the the msprime->demes converter, I copy/pasted bits out of the demes/ms.py file. So we should try to rearange some of this so that the useful bits can be made part of the (Builder?) API.

In particular, the migrations_from_mm_list() function might be useful to add as a Builder method. It's also easily tested, because it should round-trip with the Graph.migration_matrices() method.

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

No branches or pull requests

1 participant