Skip to content

Commit

Permalink
fixed cached_result to work with new OptimizationResult object
Browse files Browse the repository at this point in the history
  • Loading branch information
amcisaac committed Apr 9, 2024
1 parent 98f9a50 commit b833b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yammbs/cached_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def from_qcsubmit_collection(
collection.to_records(),
desc="Converting records to molecules",
):
energy = qcarchive_record.get_final_energy() * hartree2kcalmol
energy = qcarchive_record.energies[-1] * hartree2kcalmol
ret.inner.append(
CachedResult(
mapped_smiles=molecule.to_smiles(
Expand Down

0 comments on commit b833b47

Please sign in to comment.