Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Squashing unintended test warnings due to model recombination rate #1626

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,9 @@ def test_recombination_rate_match(self):
contig = species.get_contig(length=100)
assert model.recombination_rate != contig.recombination_map.mean_rate
contig = species.get_contig(
length=100, recombination_rate=model.recombination_rate
length=100,
mutation_rate=model.mutation_rate,
recombination_rate=model.recombination_rate,
)
assert model.recombination_rate == contig.recombination_map.mean_rate

Expand Down
Loading