You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm guessing that a lot of people will want to be able to either convert their existing models to demes or to run demes models through simulators that support ms's demographic model description.
Should we provide from_ms() and to_ms() methods? (Or similarly named?)
The from_ms code wouldn't be too bad, as we could adapt the command line parsing code in msprime. With a few small adjustments (i.e., raising ValueErrors rather than calling sys.exit) I think we could reuse the argparse code directly, which doesn't have to actually be used in the context of a CLI.
I've been thinking about doing this for the msprime 1.0 Demography API, but it seems to me it would be much more useful here.
Thoughts?
The text was updated successfully, but these errors were encountered:
I'm guessing that a lot of people will want to be able to either convert their existing models to demes or to run demes models through simulators that support ms's demographic model description.
Should we provide
from_ms()
andto_ms()
methods? (Or similarly named?)The
from_ms
code wouldn't be too bad, as we could adapt the command line parsing code in msprime. With a few small adjustments (i.e., raising ValueErrors rather than calling sys.exit) I think we could reuse the argparse code directly, which doesn't have to actually be used in the context of a CLI.I've been thinking about doing this for the msprime 1.0 Demography API, but it seems to me it would be much more useful here.
Thoughts?
The text was updated successfully, but these errors were encountered: