From a56a3f7e8dac1fbb57dc15966013ed219b473afe Mon Sep 17 00:00:00 2001 From: "Matthew W. Thompson" Date: Fri, 14 Feb 2020 08:40:08 -0600 Subject: [PATCH] Small fixes --- topology/formats/top.py | 2 +- topology/utils/compatibility.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/topology/formats/top.py b/topology/formats/top.py index 0f1bcc8b3..312ba7b32 100644 --- a/topology/formats/top.py +++ b/topology/formats/top.py @@ -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 diff --git a/topology/utils/compatibility.py b/topology/utils/compatibility.py index e71fa1844..ace6f618a 100644 --- a/topology/utils/compatibility.py +++ b/topology/utils/compatibility.py @@ -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