-
Notifications
You must be signed in to change notification settings - Fork 81
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
Improved performance of bond look up #1084
Conversation
…nting for flattened compounds
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1084 +/- ##
==========================================
+ Coverage 90.54% 90.58% +0.03%
==========================================
Files 61 61
Lines 6190 6216 +26
==========================================
+ Hits 5605 5631 +26
Misses 585 585 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
…nting for flattened compounds
* Reorder bond, angle, and dihedral in write_lammpsdata * Update ordering charm angles/dihedrals * Bug fix tests * Update bond/angle/dihedral sorting algorithm --------- Co-authored-by: Co Quach <43968221+daico007@users.noreply.github.com>
updates: - [github.com/pycqa/isort: 5.11.4 → 5.12.0](PyCQA/isort@5.11.4...5.12.0) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
While this works and provides a big improvement, it will be much more beneficial to simply swap out bond_graph for networkx, so I'm going to just remove this. |
PR Summary:
Related to issue #1082
This code uses the connected_components information in the bond graph to substantially speed up to accessing information on the bonds in Compounds.
PR Checklist