Skip to content

allow loading from treeSeq even when treeSeq isn't enabled? #216

@petrelharp

Description

@petrelharp

Currently, trying to do sim.readFromPopulationFile() raises an error if you haven't done initializeTreeSeq(). Sometimes people want to run simulations without tree sequence recording, for speed, and so do things like

c.     Wrote a script to take the treesequence at time 0 and write a file in slim output

to move from a treeseq simulation to one without. However, I don't know of any reason that you shouldn't be able to load in a simulation from a tree sequence and yet not have tree sequence recording turned on? This would make it possible, for instance, to intiialize a giant simulation from an msprime simulation and run it without recording the tree sequence (for speed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementtreesrelated to tree-seq, tskit, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions