Skip to content

Commit

Permalink
Merge pull request #43 from pietrodelugas/fix_issue_40
Browse files Browse the repository at this point in the history
fix double reading of k points list by get_k_points of PwDocument (issue #40)
  • Loading branch information
pietrodelugas authored Feb 27, 2024
2 parents 0ac5a13 + 02be85b commit dccbe25
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 dccbe25

Please sign in to comment.