-
Notifications
You must be signed in to change notification settings - Fork 6
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
fwdpy11.model_params is non-idiomatic #4
Milestone
Comments
molpopgen
added a commit
that referenced
this issue
Aug 14, 2017
molpopgen
added a commit
that referenced
this issue
Aug 14, 2017
molpopgen
added a commit
that referenced
this issue
Aug 14, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 15, 2017
molpopgen
added a commit
that referenced
this issue
Aug 16, 2017
molpopgen
added a commit
that referenced
this issue
Apr 5, 2020
* Sregion classes now must be able to generate deviates based on inverse cdf functions. * Add new virtual fxn to return vector of dominance values. * Add total_dim/shape concept * Add fwdpy11.mvDES * Add new C++ back end to fwdpp's site_dependent_genetic_value. fwdpy11.Additive and fwdpy11.Multiplicative use this new back-end and are entirely self-contained in the .cc files. fwdpy11.GBR is now also self-contained in its .cc file. These changes allow for mutations having different effect sizes in different demes. * fwdpy11::DiploidGeneticValue::calculate_gvalue now requires the individual's metadata, so that mass migrations via copies can get the correct info. Update the fwdpp wrapper class to pull the value from the metadata rather than reliying on the individual's index + pop.diploid_metadata. This is the commit message #4: * Add test_mvDES.py * Rename "shape" attribute of fwdpy11.GammaS to "shape_parameter". * ModelParams tests for dimensionality mismatch between sregion and gvalue fields in validate step. * Add rudimentary documentation
molpopgen
added a commit
that referenced
this issue
Apr 5, 2020
* Sregion classes now must be able to generate deviates based on inverse cdf functions. * Add new virtual fxn to return vector of dominance values. * Add total_dim/shape concept * Add fwdpy11.mvDES * Add new C++ back end to fwdpp's site_dependent_genetic_value. fwdpy11.Additive and fwdpy11.Multiplicative use this new back-end and are entirely self-contained in the .cc files. fwdpy11.GBR is now also self-contained in its .cc file. These changes allow for mutations having different effect sizes in different demes. * fwdpy11::DiploidGeneticValue::calculate_gvalue now requires the individual's metadata, so that mass migrations via copies can get the correct info. Update the fwdpp wrapper class to pull the value from the metadata rather than reliying on the individual's index + pop.diploid_metadata. This is the commit message #4: * Add test_mvDES.py * Rename "shape" attribute of fwdpy11.GammaS to "shape_parameter". * ModelParams tests for dimensionality mismatch between sregion and gvalue fields in validate step. * Add rudimentary documentation
molpopgen
added a commit
that referenced
this issue
Apr 11, 2020
* Sregion classes now must be able to generate deviates based on inverse cdf functions. * Add new virtual fxn to return vector of dominance values. * Add total_dim/shape concept * Add fwdpy11.mvDES * Add new C++ back end to fwdpp's site_dependent_genetic_value. fwdpy11.Additive and fwdpy11.Multiplicative use this new back-end and are entirely self-contained in the .cc files. fwdpy11.GBR is now also self-contained in its .cc file. These changes allow for mutations having different effect sizes in different demes. * fwdpy11::DiploidGeneticValue::calculate_gvalue now requires the individual's metadata, so that mass migrations via copies can get the correct info. Update the fwdpp wrapper class to pull the value from the metadata rather than reliying on the individual's index + pop.diploid_metadata. This is the commit message #4: * Add test_mvDES.py * Rename "shape" attribute of fwdpy11.GammaS to "shape_parameter". * ModelParams tests for dimensionality mismatch between sregion and gvalue fields in validate step. * Add rudimentary documentation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The implementation of these classes is quite messy and reflects a lack of understanding of Python's OO idioms and how to properly use class properties.
A do-over is needed.
The text was updated successfully, but these errors were encountered: