Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def niggli_reduced(self) -> 'Lattice':
"""
Returns the niggli reduced basis vectors.
"""
return Lattice(spglib.niggli_reduce(self.lattice_vect), self.lattice_type)