Skip to content

Commit

Permalink
Make attribute private.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Nov 16, 2023
1 parent 177a689 commit f8506d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions emle/emle.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ class EMLECalculator:
_is_delta = False

# Default to no external callback.
is_external_backend = False
_is_external_backend = False

def __init__(
self,
Expand Down Expand Up @@ -584,7 +584,7 @@ def __init__(
self._external_backend = getattr(module, function)

# Flag that an external backend is being used.
self.is_external_backend = True
self._is_external_backend = True

if parm7 is not None:
if not isinstance(parm7, str):
Expand Down Expand Up @@ -1013,7 +1013,7 @@ def run(self, path=None):
# energies and (optionally) gradients.

# Internal backends.
if not self.is_external_backend:
if not self._is_external_backend:
# TorchANI.
if self._backend == "torchani":
try:
Expand Down

0 comments on commit f8506d0

Please sign in to comment.