Skip to content

0.2.2

Compare
Choose a tag to compare
@grahamgower grahamgower released this 28 Apr 13:44
· 202 commits to main since this release
cec337a

Better conformance to the spec. Minor discrepancies between demes-python and the reference implementation have been resolved.

  • Dropped support for Python 3.6
    (@grahamgower, #445, #446)
  • Reject bad defaults, even if they're not used.
    (@grahamgower, #443, #430)
  • Set encoding to UTF-8 explicitly. This fixes unicode deme names on Windows.
    (@grahamgower, #430)
  • Graph.description and Deme.description can no longer be None. A missing description will now be resolved to the empty string.
    (@grahamgower, #429, #430)
  • Graph.generation_time can no longer be None. When time_units are generations, a missing generation_time will now be resolved to 1 and other values are an error.
    (@grahamgower, #429, #430)
  • Permit selfing_rate + cloning_rate >= 1. Both values must be between zero and one (inclusive), but the selfing_rate is now defined as conditional on sexual reproduction (which occurs at rate 1 - cloning_rate).
    (@grahamgower, #425, #423)