jqujqu / EvoSim

Simulate epigenome evolution
GNU General Public License v3.0
0 stars 0 forks source link

Make some separation between the tree and the model in EpiEvoModel #13

Open andrewdavidsmith opened 6 years ago

andrewdavidsmith commented 6 years ago

Right now the model requires a tree, and we need to be able to work with the model in the context of the model by itself, without any particular tree. We can keep an empty variable for the tree, but we need to make sure we test for the existence of a tree in the contexts when one is required. We also need to make sure we can read and write models without having a tree.

xjlizji commented 6 years ago

Now the void read_model(const bool SCALE, const std::string &param_file, EpiEvoModel &m); function in EpiEvoModel is not using parameter SCALE.