Skip to content

Commit b7437eb

Browse files
authored
Merge pull request #1052 from hyanwong/Hartigan-doc-refs
Change refs in map mutation docs from Fitch to Hartigan
2 parents 22079a2 + 08ec1ce commit b7437eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ The output is::
12111211
Missing data
12121212
++++++++++++
12131213

1214-
The Fitch parsimony algorithm in :meth:`Tree.map_mutations` can also take missing data
1214+
The Hartigan parsimony algorithm in :meth:`Tree.map_mutations` can also take missing data
12151215
into account when finding a set of parsimonious state transitions. We do this by
12161216
specifying the special value ``-1`` as the state, which is treated by the algorithm as
12171217
"could be anything".

python/tskit/trees.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2312,7 +2312,7 @@ def map_mutations(self, genotypes, alleles):
23122312
one non-missing observation must be provided. A maximum of 64 alleles are
23132313
supported.
23142314
2315-
The current implementation uses the Fitch parsimony algorithm to determine
2315+
The current implementation uses the Hartigan parsimony algorithm to determine
23162316
the minimum number of state transitions required to explain the data. In this
23172317
model, transitions between any of the non-missing states is equally likely.
23182318

0 commit comments

Comments
 (0)