diff --git a/abipy/core/structure.py b/abipy/core/structure.py index 5368ef057..b72e2481c 100644 --- a/abipy/core/structure.py +++ b/abipy/core/structure.py @@ -2351,7 +2351,7 @@ def get_kpath_input_string(self, fmt: str = "abinit", line_density: int = 10) -> app(" kptopt %d" % -(len(self.hsym_kpoints) - 1)) app(" kptbounds") for k in self.hsym_kpoints: - app(" {:+.5f} {:+.5f} {:+.5f} # {kname}".format(*k.frac_coords, kname=k.name)) + app(" {:+.9f} {:+.9f} {:+.9f} # {kname}".format(*k.frac_coords, kname=k.name)) elif fmt in ("wannier90", "w90"): app("# Wannier90 structure")