Skip to content

Commit eb2d4e4

Browse files
authored
Merge pull request #306 from hyanwong/simplification-tutes
Minor typos in completing_forward_sims
2 parents 1a2a0ae + 7203261 commit eb2d4e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

completing_forward_sims.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ kernelspec:
1111

1212
(sec_completing_forward_simulations)=
1313

14-
# Recapitation: completing a forward simulation
14+
# Recapitating a forward simulation
1515

1616
The ``msprime`` simulator generates tree sequences using the
1717
backward-in-time coalescent model. But it is also possible to output tree sequences
@@ -178,7 +178,7 @@ they may cause problems:
178178
sequence, having these unary edges and redundant nodes will slightly
179179
inflate the values.
180180
2. If you are computing the overall tree "height" by taking the time of the
181-
root node, you may overestimate the height because there is a unary edge
181+
root node, you may overestimate the height if there is a unary edge
182182
above the "real" root (this would happen if one of the trees had already
183183
coalesced in the forward-time simulation).
184184

@@ -188,7 +188,7 @@ computed tree sequence which is easily done using the
188188

189189
```{code-cell} ipython3
190190
final_ts = coalesced_ts.simplify()
191-
coalesced_ts.draw_svg()
191+
final_ts.draw_svg()
192192
```
193193

194194
This final tree sequence is topologically identical to the original tree sequence,

0 commit comments

Comments
 (0)