Skip to content

Commit

Permalink
Add default _has_nagl flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Mar 25, 2024
1 parent 40ecb82 commit 9355e30
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/BioSimSpace/Parameters/_Protocol/_openforcefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@

_openff = _try_import("openff")

# Initialise the NAGL support flag.
_has_nagl = False

if _have_imported(_openff):
from openff.interchange import Interchange as _Interchange
from openff.toolkit.topology import Molecule as _OpenFFMolecule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@

_openff = _try_import("openff")

# Initialise the NAGL support flag.
_has_nagl = False

if _have_imported(_openff):
from openff.interchange import Interchange as _Interchange
from openff.toolkit.topology import Molecule as _OpenFFMolecule
Expand Down

0 comments on commit 9355e30

Please sign in to comment.