Skip to content

Commit

Permalink
Allow sampling msprime pop right after creation
Browse files Browse the repository at this point in the history
  • Loading branch information
bodkan committed Jun 30, 2023
1 parent 80d08b7 commit aea2319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/scripts/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def simulate(
# parent population)
if pop.parent != "__pop_is_ancestor":
demography.add_population_split(
time=length - pop.tsplit_gen,
time=length - pop.tsplit_gen + 1,
derived=[pop.pop],
ancestral=pop.parent
)
Expand Down

0 comments on commit aea2319

Please sign in to comment.