Skip to content

Commit 26f42eb

Browse files
committed
adress review comments
1 parent e12bcb1 commit 26f42eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/ancestry.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ node 8 in the leftmost tree.
11471147

11481148

11491149
However, for some specialised applications, simulations after the local MRCA might be needed. In this case, we set the
1150-
attribute `stop_at_local_mrca` of {func}`.sim_ancestry` to `False`, and we set the `end_time` parameter to stop simulations
1150+
parameter `stop_at_local_mrca` of {func}`.sim_ancestry` to `False`, and we set the `end_time` parameter to stop simulations
11511151
when they reach this end time.
11521152

11531153

msprime/ancestry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def _parse_sim_ancestry(
10811081

10821082
if stop_at_local_mrca is None:
10831083
stop_at_local_mrca = True
1084-
if not stop_at_local_mrca: # when set to False
1084+
if not stop_at_local_mrca:
10851085
if end_time == math.inf or end_time is None:
10861086
raise ValueError(
10871087
"You have to specify an end_time when using stop_at_local_mrca, "

0 commit comments

Comments
 (0)