Skip to content

Commit

Permalink
Clarify the population size is diploid (by default)
Browse files Browse the repository at this point in the history
I think this is right. It is helpful to say "diploid population size" somewhere in the docs, as people might search for this phrase.
  • Loading branch information
hyanwong authored and petrelharp committed Oct 30, 2023
1 parent 954321d commit df2eaa2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/ancestry.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,8 @@ sized population in the default demography.

For example, here we run the same simulation twice, one with
the default population size and one with a population size
of 100:
of 100 (this is the diploid population size because the
default {ref}`sec_ancestry_ploidy` is 2):

```{code-cell}
ts = msprime.sim_ancestry(2, random_seed=1234)
Expand Down

0 comments on commit df2eaa2

Please sign in to comment.