Skip to content

Commit

Permalink
fix double reading of k points list by get_k_points method of
Browse files Browse the repository at this point in the history
PwDocument class.
  • Loading branch information
pietrodelugas committed Feb 27, 2024
1 parent 0ac5a13 commit 02be85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qeschema/documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ def get_k_points(self):
:return: nested list with k_points
"""
path = './/output//k_point'
path = './/output//ks_energies/k_point'
return [self.schema.find(path).decode(e)['$'] for e in self.findall(path)]

@requires_xml_data
Expand Down

0 comments on commit 02be85b

Please sign in to comment.