Skip to content

Conversation

@lorenzo-22
Copy link

fix #64 fixing interactions between atoms with the same charge by changing how "sets_sizes" list is created.

Copy link
Collaborator

@mtiberti mtiberti left a comment

Choose a reason for hiding this comment

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

not much to review here :) cool that this was a small fix!

however, would you add a test to the dataset for same-charge interactions?

this means

  • generating reference data in tests/data of same-charge interactions
  • modifying test_libinteract.py so that a test on same-charge interactions is performed you can check e.g. test_do_sb and the objects/functions called there to see how this is done

besides, have you run the tests after you did your fix?

@lorenzo-22 lorenzo-22 self-assigned this Mar 14, 2025
added files for test
modified test_libinteract.py so that a test on same-charge interactions is performed
Copy link
Collaborator

@mtiberti mtiberti left a comment

Choose a reason for hiding this comment

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

can we change the file name of the data file to something that makes it clear that these are same-charge interactions? I also don't think these should be called salt_bridge since they are not salt bridges

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.

Error when calculating repulsive interactions

3 participants