Skip to content

Commit 7bfa63e

Browse files
Review tweaks
1 parent 78e0d1e commit 7bfa63e

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

docs/inference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ reduce the number of ancestral recombination events by postulating a "synthetic
217217
ancestor" with this breakpoint, existing at a slightly older point
218218
in time, from whom all the children are descended at this genomic position. We
219219
call the algorithm used to implement this addition to the ancestral copying
220-
paths, "path compression". Path compression is off by default.
220+
paths, "path compression".
221221

222222
(sec_inference_match_ancestors)=
223223

@@ -280,4 +280,4 @@ The final phase of a `tsinfer` inference consists of a number steps:
280280
section
281281
2. Describe the structure of the output tree sequences; how the
282282
nodes are mapped, what the time values mean, etc.
283-
:::
283+
:::

tests/test_matcher_fixtures.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import pytest
3131

3232
from tsinfer import config, matching, vcz
33-
from tsinfer.config import MatchJob
3433

3534
# ---------------------------------------------------------------------------
3635
# Helpers
@@ -52,7 +51,7 @@ def read_haplotype(self, job):
5251

5352
def _match(ts, positions, query, allele_mapper):
5453
"""Run the current Matcher and return (path, mutations) as tuples."""
55-
job = MatchJob(
54+
job = config.MatchJob(
5655
haplotype_index=0,
5756
source="test",
5857
sample_id="s0",
@@ -74,7 +73,7 @@ def _match(ts, positions, query, allele_mapper):
7473

7574
def _add_node(ts, time, path_segments, mutations, allele_mapper):
7675
"""Add a single ancestor node to *ts* via extend_ts."""
77-
job = MatchJob(
76+
job = config.MatchJob(
7877
haplotype_index=0,
7978
source="test",
8079
sample_id="s0",

0 commit comments

Comments
 (0)