BradyAJohnston / MolecularNodes

Toolbox for molecular animations in Blender, powered by Geometry Nodes.
https://bradyajohnston.github.io/MolecularNodes/
GNU General Public License v3.0
917 stars 86 forks source link

Refactor attributes code #641

Closed BradyAJohnston closed 3 weeks ago

BradyAJohnston commented 3 weeks ago

Refactors the attribute code to better abstract it and make more generalised.

Movement towards having the numpy / blender interface being a separate module that can be used in other projects.

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 81.68498% with 100 lines in your changes missing coverage. Please review.

Project coverage is 73.89%. Comparing base (bb35110) to head (b5af79a). Report is 28 commits behind head on main.

Files with missing lines Patch % Lines
molecularnodes/blender/bpyd/attribute.py 76.77% 36 Missing :warning:
molecularnodes/blender/bpyd/object.py 81.10% 24 Missing :warning:
molecularnodes/blender/bpyd/nodes.py 82.85% 18 Missing :warning:
molecularnodes/blender/bpyd/collection.py 70.58% 5 Missing :warning:
molecularnodes/entities/trajectory/trajectory.py 80.00% 5 Missing :warning:
molecularnodes/blender/nodes.py 69.23% 4 Missing :warning:
molecularnodes/entities/molecule/molecule.py 85.71% 2 Missing :warning:
molecularnodes/entities/trajectory/ui.py 0.00% 2 Missing :warning:
molecularnodes/ui/panel.py 33.33% 2 Missing :warning:
molecularnodes/blender/utils.py 87.50% 1 Missing :warning:
... and 1 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #641 +/- ## ========================================== + Coverage 71.73% 73.89% +2.15% ========================================== Files 50 54 +4 Lines 4143 4271 +128 ========================================== + Hits 2972 3156 +184 + Misses 1171 1115 -56 ```

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