Coverage for /builds/kinetik161/ase/ase/dft/band_structure.py: 100.00%

4 statements  

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

1import warnings 

2 

3from numpy import VisibleDeprecationWarning 

4 

5from ase.spectrum.band_structure import * # noqa: F401,F403 

6 

7warnings.warn("ase.dft.band_structure has been moved to " 

8 "ase.spectrum.band_structure. Please update your " 

9 "scripts; this alias will be removed in a future " 

10 "version of ASE.", 

11 VisibleDeprecationWarning)