pyt-team / TopoNetX

Computing on Topological Domains
https://pyt-team.github.io/toponetx/
MIT License
175 stars 31 forks source link

Refactor `SimplicialComplex.add_simplex` function #359

Closed ffl096 closed 4 months ago

ffl096 commented 4 months ago

This pull request makes the implementation of SimplicialComplex.add_simplex a bit simpler and allows to introduce changes more easily in the future. Along the way, an inconsistency when providing a Simplex class with attributes and additional kwargs in different cases was fixed.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.37%. Comparing base (fc47106) to head (13ac77e).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #359 +/- ## ======================================= Coverage 97.37% 97.37% ======================================= Files 37 37 Lines 3543 3543 ======================================= Hits 3450 3450 Misses 93 93 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.