Skip to content

Commit

Permalink
Fix the pickle protocol version
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Dec 18, 2023
1 parent 45765e6 commit d07b0f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyiron_base/jobs/datamining.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@


def _to_pickle(hdf, key, value):
hdf[key] = codecs.encode(cloudpickle.dumps(value), "base64").decode()
hdf[key] = codecs.encode(
cloudpickle.dumps(obj=value, protocol=5, buffer_callback=None), "base64"
).decode()


def _from_pickle(hdf, key):
Expand Down

0 comments on commit d07b0f7

Please sign in to comment.