Skip to content

Commit

Permalink
collate=True for topology creation
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Feb 3, 2025
1 parent b8062f0 commit 2befd22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pontibus/protocols/solvation/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _get_omm_objects(
)

# Get omm objects back
omm_topology = interchange.to_openmm_topology()
omm_topology = interchange.to_openmm_topology(collate=True)
omm_system = interchange.to_openmm_system(
hydrogen_mass=settings["forcefield_settings"].hydrogen_mass
)
Expand Down
2 changes: 1 addition & 1 deletion src/pontibus/tests/utils/test_interchange_packmol.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def omm_system(self, interchange_system):
def omm_topology(self, interchange_system):
interchange, _ = interchange_system

return interchange.to_openmm_topology()
return interchange.to_openmm_topology(collate=True)

@pytest.fixture(scope="class")
def nonbonds(self, omm_system):
Expand Down

0 comments on commit 2befd22

Please sign in to comment.