Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwthompson committed Nov 14, 2024
1 parent 2cd88bc commit fe2348e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions openff/interchange/components/interchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@
from openff.interchange.smirnoff._gbsa import SMIRNOFFGBSACollection
from openff.interchange.warnings import InterchangeDeprecationWarning

if has_package("foyer"):
try:
from foyer.forcefield import Forcefield as FoyerForcefield
except ModuleNotFoundError:
# case of openff/interchange/foyer/ being detected as the real package
pass
if has_package("nglview"):
import nglview

if TYPE_CHECKING:
import openmm
import openmm.app
Expand Down
9 changes: 0 additions & 9 deletions openff/interchange/foyer/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,10 @@
from typing import TYPE_CHECKING

from openff.toolkit import Topology
from openff.utilities.utilities import has_package

from openff.interchange.components.potentials import Collection, Potential
from openff.interchange.models import PotentialKey, TopologyKey

if has_package("foyer"):
try:
from foyer.exceptions import MissingForceError, MissingParametersError # noqa
from foyer.forcefield import Forcefield
except ModuleNotFoundError:
# case of openff/interchange/foyer/ being detected as the real package
pass

if TYPE_CHECKING:
from foyer import Forcefield

Expand Down

0 comments on commit fe2348e

Please sign in to comment.