Skip to content

Commit

Permalink
Tidy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Nov 14, 2024
1 parent d57c409 commit 54a2026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion abcd/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def from_atoms(cls, atoms: Atoms, extra_info=None, store_calc=True):
arrays_keys = set(atoms.arrays.keys())
info_keys = set(atoms.info.keys())
if store_calc and atoms.calc:
results_keys = set(atoms.calc.results.keys() - (arrays_keys | info_keys))
results_keys = atoms.calc.results.keys() - (arrays_keys | info_keys)
else:
results_keys = {}

Expand Down

0 comments on commit 54a2026

Please sign in to comment.