Skip to content

Conversation

@mattwthompson
Copy link
Member

@mattwthompson mattwthompson commented Jan 5, 2026

Description

Closes #1393

This won't quite fix #1394 but it seems to work as a standalone change

Checklist

  • Add tests
  • Lint
  • Update docstrings

@mattwthompson mattwthompson changed the title REF: Move get_charge_array to base class Move get_charge_array to ElectrostaticsCollection Jan 5, 2026
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.86%. Comparing base (28eec2f) to head (57a5a93).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1407   +/-   ##
=======================================
  Coverage   93.86%   93.86%           
=======================================
  Files          73       73           
  Lines        6327     6327           
=======================================
  Hits         5939     5939           
  Misses        388      388           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mattwthompson mattwthompson added this to the 0.5.1 milestone Jan 5, 2026
@mattwthompson mattwthompson marked this pull request as ready for review January 6, 2026 04:20
Copy link
Member

@j-wags j-wags left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, could be worth adding to releasenotes since everything that inherits from ElectrostaticsCollection (eg FoyerElectrostaticsHandler, BasicElectrostaticsCollection) just gained a method.

@mattwthompson mattwthompson merged commit dcde2e8 into main Jan 7, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants