Skip to content

Commit

Permalink
all tests now pass
Browse files Browse the repository at this point in the history
  • Loading branch information
molpopgen committed Nov 27, 2024
1 parent 0ef6c2c commit 3d084b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_tskit_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ def test_single_model_params(pop, pdict1):
ts = pop.dump_tables_to_tskit(model_params=mp)

# reconstruct
for i in dir(fwdpy11):
exec(f"from fwdpy11 import {i}")

mp_rebuilt = fwdpy11.ModelParams(**eval(ts.metadata["model_params"]))

assert mp == mp_rebuilt
Expand Down

0 comments on commit 3d084b6

Please sign in to comment.