We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab8a30e commit 955e98fCopy full SHA for 955e98f
aiida_sssp_workflow/utils.py
@@ -139,6 +139,7 @@ def get_standard_structure(
139
"""
140
from pathlib import Path
141
142
+ from aiida.tools.data.array.kpoints import get_kpoints_path
143
from ase import io
144
145
# If for delta measure workflow
@@ -211,6 +212,10 @@ def get_standard_structure(
211
212
else:
213
raise ValueError(f"Unknown file type {Path(path).suffix}")
214
215
+ # To make the structure consistent with the structure from acwf
216
+ res = get_kpoints_path(structure, method="seekpath")
217
+ structure = res["primitive_structure"]
218
+
219
return structure
220
221
0 commit comments