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

Warn when prune_selected = True can be a problem #1235

Merged
merged 1 commit into from Nov 13, 2023

Conversation

molpopgen
Copy link
Owner

  • Add failing test
  • Add fwdpy11.PruneSeletedWarning
  • add the validator to ModelParams
  • write post-init validator and some simple tests
  • remove validator -- this has to be post-init
  • refactor to handle gvalue lists
  • fix one test

* Add fwdpy11.PruneSeletedWarning
* Raise warning from ModelParams
* Fix tests, manual example, and examples/ that raise the warning
* Add gvalue_to_fitness and noise attributes to PyDiploidGeneticValue

Closes #1232
@molpopgen molpopgen enabled auto-merge (squash) November 13, 2023 22:32
@molpopgen molpopgen merged commit 3d73e44 into dev Nov 13, 2023
28 checks passed
@molpopgen molpopgen deleted the prune_selected_warning branch December 1, 2023 18:57
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.

None yet

1 participant