Coverage for /builds/kinetik161/ase/ase/dyneb.py: 83.33%

6 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-12-10 11:04 +0000

1"""Temporary file while we deprecate this location.""" 

2 

3from ase.mep import DyNEB as RealDyNEB 

4from ase.utils import deprecated 

5 

6 

7class DyNEB(RealDyNEB): 

8 @deprecated('Please import DyNEB from ase.mep, not ase.dyneb.') 

9 def __init__(self, *args, **kwargs): 

10 """ 

11 .. deprecated:: 3.23.0 

12 Please import ``DyNEB`` from :mod:`ase.mep` 

13 """ 

14 super().__init__(*args, **kwargs)