Closed hyanwong closed 8 months ago
The GeneticInheritanceGraphLibrary has been updated to enhance its functionality and accuracy in modeling genetic inheritance. New constants for edge validation and a combined constant were introduced. The tables module now supports improved edge handling and validation, with specific methods for integer conversion and edge addition. Test configurations and cases were adjusted to align with these updates, including the introduction of recombination events and adjustments to existing test logic to accommodate the changes.
Files | Summary |
---|---|
.../constants.py |
Introduced IEDGES_CHILD_LEFT_LESS_THAN_RIGHT , IEDGES_PARENT_OLDER_THAN_CHILD , and VALID_GIG constants. |
.../tables.py |
Added VALID_GIG import, enhanced IEdgeTable logic, updated methods for row addition and validation. |
tests/conftest.py |
Updated fixtures for node and edge data, including recombination simulation. |
tests/test_graph.py , tests/test_tables.py |
Adjusted to new fixture names, updated logic and assertions to reflect changes in data structures and functionality. |
🐇✨
In the library's heart, a change does spark,
With constants new and edges marked.
Through tables and tests, the updates dart,
A genetic tale, anew, we embark.
So hop with joy, for science we chart!
🌱🧬
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Merged in the other PR
Summary by CodeRabbit