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

Explicit tests of fixation pruning #1323

Merged
merged 1 commit into from
Jul 17, 2024
Merged

Explicit tests of fixation pruning #1323

merged 1 commit into from
Jul 17, 2024

Conversation

molpopgen
Copy link
Owner

cc @apragsdale

  • Add explicit Python and C++ tests of "prune selected" behavior
  • Fix any bugs :)

* In effect, flags to remove fixations were ignored.
  This likely occurred when modifying the back end
  to support demes graphs, but I have not bothered to
  bisect out the source of the error.
* Added explicit C++ and Python tests of removing fixations
* Updated Python tests of selective sweeps, including
  fixing some logic errors in the tests that led them
  to pass "by luck" rather than by design.

This bug does not affect simulation results for multiplicative
models.  For such models, relative fitness is what matters
and not removing fixations still maintains relative fitness.
@molpopgen molpopgen marked this pull request as ready for review July 17, 2024 17:03
@molpopgen molpopgen enabled auto-merge (squash) July 17, 2024 17:03
@molpopgen molpopgen merged commit b235004 into dev Jul 17, 2024
34 checks passed
@molpopgen molpopgen deleted the prune_fixations branch July 17, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant