Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Aug 30, 2024
1 parent 3a59bb5 commit 11b07c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion foyer/tests/base_test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import importlib.resources as resources
from pathlib import Path

import parmed as pmd
Expand All @@ -6,7 +7,9 @@
from foyer import forcefields
from foyer.smarts import SMARTS

OPLS_TEST_FILE_DIR = Path(resource_filename("foyer", "opls_validation")).resolve()
OPLS_TEST_FILE_DIR = Path(
resources.files("foyer").joinpath("opls_validation")
).resolve()


class BaseTest:
Expand Down

0 comments on commit 11b07c8

Please sign in to comment.