Skip to content
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

Add a method for comparing components in ChemicalSystem objects #418

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ianmkenney
Copy link
Contributor

Add component_diff method to compare ChemicalSystem components.

Implement a method to compare the components of a ChemicalSystem with those of another.

closes #347

Implement a method to compare the components of a ChemicalSystem with
those of another.
@ianmkenney ianmkenney self-assigned this Nov 21, 2024
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.66%. Comparing base (82cb73d) to head (e254531).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #418   +/-   ##
=======================================
  Coverage   98.65%   98.66%           
=======================================
  Files          36       36           
  Lines        2087     2098   +11     
=======================================
+ Hits         2059     2070   +11     
  Misses         28       28           

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


🚨 Try these New Features:

* Add test demonstrating the comparison between the components of two
ChemicalSystem objects

* Add test for comparing two incompatible types: ChemicalSystem and
SmallMoleculeComponent

* Fix typo in TypeError message
@ianmkenney
Copy link
Contributor Author

@IAlibay Is this what you had in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ChemicalSystem difference method
1 participant