Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Jul 2, 2024
1 parent 12a3141 commit 20de603
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/test_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ def test_two_samples_recombinant_one_filtered(self):
L = ts.sequence_length
x = L / 2
new_paths = [
[(0, x, 2), (x, L, 3)], # Added
[(0, L/4, 2), (L/4, L/2, 3), (L/2, 3/4 * L, 4), (3/4 * L, L, 2)], # Filtered
[(0, x, 2), (x, L, 3)], # Added
[
(0, L / 4, 2),
(L / 4, L / 2, 3),
(L / 2, 3 / 4 * L, 4),
(3 / 4 * L, L, 2),
], # Filtered
]
samples = util.get_samples(ts, new_paths)
ts2 = sc2ts.add_matching_results(
Expand Down Expand Up @@ -135,7 +140,7 @@ def test_two_samples_one_mutation_one_filtered(self):
[(0, ts.sequence_length, 1)],
]
new_mutations = [
[(0, "X")], # Added
[(0, "X")], # Added
[(0, "X"), (x, "X")], # Filtered
]
samples = util.get_samples(
Expand Down

0 comments on commit 20de603

Please sign in to comment.