Skip to content

Commit

Permalink
fixed minor bug in get_geometry_steps_of_optimisation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukashoermann200 committed Oct 30, 2024
1 parent 05094de commit 78f375f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dfttools/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,7 @@ def get_geometry(self):

return geometry

def get_geometry_steps_of_optimisation(
self, nr_of_occurrence=None
) -> list:
def get_geometry_steps_of_optimisation(self, n_occurrence=None) -> list:
"""
Get a list of all geometry steps performed.
Expand Down Expand Up @@ -182,7 +180,7 @@ def get_geometry_steps_of_optimisation(
state = 0
geometry_text = "".join(geometry_lines[2:-1])
g = AimsGeometry()
g.parseTextAIMS(geometry_text)
g.parse(geometry_text)
geometry_files.append(g)

return geometry_files
Expand Down

0 comments on commit 78f375f

Please sign in to comment.