TheoChem-VU / TCutility

Utility functions/classes for the TheoCheM programs
https://theochem-vu.github.io/TCutility/
MIT License
6 stars 0 forks source link

Change cache_file to use dill instead of json #255

Open YHordijk opened 6 months ago

YHordijk commented 6 months ago

Currently we use JSON to serialize objects and store them with the tcutility.cache.cache_file decorator. Unfortunately, many objects are not serializable, for example most plams objects. To remedy this we could use the dill module instead to pickle any objects.