Coverage for /builds/kinetik161/ase/ase/calculators/siesta/base_siesta.py: 83.33%
6 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# File solely for gently deprecating this BaseSiesta class.
2from ase.calculators.siesta.siesta import Siesta
3from ase.utils import deprecated
6class BaseSiesta(Siesta):
7 @deprecated(
8 "The BaseSiesta calculator class will no longer be supported. "
9 "Use `ase.calculators.siesta.Siesta` instead.",
10 category=FutureWarning,
11 )
12 def __init__(self, *args, **kwargs):
13 """
14 .. deprecated:: 3.18.2
15 The ``BaseSiesta`` calculator class will no longer be supported.
16 Use :class:`~ase.calculators.siesta.Siesta` instead.
17 """
18 Siesta.__init__(self, *args, **kwargs)