Coverage for /builds/kinetik161/ase/ase/dimer.py: 81.25%
16 statements
« prev ^ index » next coverage.py v7.2.7, created at 2023-12-10 11:04 +0000
« prev ^ index » next coverage.py v7.2.7, created at 2023-12-10 11:04 +0000
1"""Temporary file while we deprecate this locaation."""
3from ase.mep import DimerControl as RealDimerControl
4from ase.mep import MinModeAtoms as RealMinModeAtoms
5from ase.mep import MinModeTranslate as RealMinModeTranslate
6from ase.utils import deprecated
9class DimerControl(RealDimerControl):
10 @deprecated('Please import DimerControl from ase.mep, not ase.dimer.')
11 def __init__(self, *args, **kwargs):
12 """
13 .. deprecated:: 3.23.0
14 Please import ``DimerControl`` from :mod:`ase.mep`
15 """
16 super().__init__(*args, **kwargs)
19class MinModeAtoms(RealMinModeAtoms):
20 @deprecated('Please import MinModeAtoms from ase.mep, not ase.dimer.')
21 def __init__(self, *args, **kwargs):
22 """
23 .. deprecated:: 3.23.0
24 Please import ``MinModeAtoms`` from :mod:`ase.mep`
25 """
26 super().__init__(*args, **kwargs)
29class MinModeTranslate(RealMinModeTranslate):
30 @deprecated('Please import MinModeTranslate from ase.mep, not ase.dimer.')
31 def __init__(self, *args, **kwargs):
32 """
33 .. deprecated:: 3.23.0
34 Please import ``MinModeTranslate`` from :mod:`ase.mep`
35 """
36 super().__init__(*args, **kwargs)