Skip to content

Commit

Permalink
Fix pickle serializability (#1828)
Browse files Browse the repository at this point in the history
Fix pickle-ability of output schemas, first noticed in
#1729.
  • Loading branch information
Andrew-S-Rosen authored Mar 4, 2024
1 parent dc93d4f commit aae4484
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quacc/schemas/atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def atoms_to_metadata(
additional_fields = additional_fields or {}
atoms = copy_atoms(atoms)
results = {}
atoms.calc = None

# Set any charge or multiplicity keys
if not atoms.pbc.any():
Expand Down

0 comments on commit aae4484

Please sign in to comment.