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
Currently, from_ms() just converts the first replicate. It might be nice to instead return an iterator over the tree sequences, like when one calls msprime.simulate() with num_replicates>1.
Actually looking through the current implementation of from_ms, it's not really fit for purpose at the moment and needs a full rewrite to use the newick library rather than dendropy, and to harden it against various things (like this). Probably best to avoid using it for now and to maybe reuse some code from msprime's scrm handling code in verification.py for the comparisons in Demes.
I ended up splitting the ms output at // and passing the separate strings into from_ms. A bit hacky, but no big deal. Having the tree sequence is quite an advantage for, e.g. getting the SFS, compared with parsing out stats manually like the scrm verification code.
Currently, from_ms() just converts the first replicate. It might be nice to instead return an iterator over the tree sequences, like when one calls msprime.simulate() with num_replicates>1.
The text was updated successfully, but these errors were encountered: