Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Feb 14, 2020
1 parent f8315c6 commit a56a3f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion topology/formats/top.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from foyer.smarts import SMARTS

from topology.core.element import element_by_atom_type
from topology.lib.potential_templates import *
from topology.lib.potential_templates import LennardJonesPotential
from topology.utils.compatibility import check_compatibility
from topology.exceptions import TopologyError

Expand Down
2 changes: 1 addition & 1 deletion topology/utils/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def check_compatibility(topology, accepted_potentials):
raise EngineIncompatibilityError

for connection_type in topology.connection_types:
if not _check_single_potential(atom_type, accepted_potentials):
if not _check_single_potential(connection_type, accepted_potentials):
raise EngineIncompatibilityError


Expand Down

0 comments on commit a56a3f7

Please sign in to comment.