Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_forces_from_trajectory(trajectory):
@calcfunction
def get_total_energy(parameters):
"""Calcfunction to get total energy from relax output"""
return orm.Float(parameters.base.attributes.get('energy'))
return orm.Float(parameters.base.attributes.get('last_energy'))


@calcfunction
Expand Down