Skip to content

Commit

Permalink
Update janus_core/calculations/single_point.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Wilkins <46597752+oerc0122@users.noreply.github.com>
  • Loading branch information
alinelena and oerc0122 committed Jun 5, 2024
1 parent 0d75c65 commit f127bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion janus_core/calculations/single_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def _get_potential_energy(self) -> MaybeList[float]:
tag = f"{self.architecture}_energy"
if isinstance(self.struct, list):
energies = [struct.get_potential_energy() for struct in self.struct]
for energy, struct in zip(energies, self.struct):
for struct, energy in zip(self.struct, energies):
struct.info[tag] = energy
return energies

Expand Down

0 comments on commit f127bf1

Please sign in to comment.