Coverage for icet/core/lattice_site.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.5.0, created at 2024-05-06 04:14 +0000

1""" 

2This module provides a Python interface to the LatticeSite class. 

3""" 

4 

5from _icet import LatticeSite 

6 

7 

8def __latticeSite_str(self): 

9 return '{} : {}'.format(self.index, self.unitcell_offset) 

10 

11 

12LatticeSite.__str__ = __latticeSite_str