https://github.com/aiidateam/aiida_core
Revision cac692c4183b9aa5ea1a6423f9e50386d310bc4b authored by Sebastiaan Huber on 10 November 2017, 09:58:24 UTC, committed by Sebastiaan Huber on 10 November 2017, 13:50:51 UTC
When the loading of a pickle fails, most likely due to it being
corrupted, it might be useful to inspect its state for debugging.
Therefore, instead of deleting it, we move it to the failed pickle
directory. I also make sure that all pickle directories exists
by calling _ensure_directory on the passed paths upon construction
of the Persistence instance
1 parent cc9d06b
History
Tip revision: cac692c4183b9aa5ea1a6423f9e50386d310bc4b authored by Sebastiaan Huber on 10 November 2017, 09:58:24 UTC
Ensure that corrupt pickle get moved to failed directory
Tip revision: cac692c
File Mode Size
.travis-data
aiida
bin
docs
examples
utils
.coveragerc -rw-r--r-- 115 bytes
.gitignore -rw-r--r-- 188 bytes
.pre-commit-config.yaml -rw-r--r-- 982 bytes
.prospector.yaml -rw-r--r-- 120 bytes
.pylintrc -rw-r--r-- 14.5 KB
.style.yapf -rw-r--r-- 32 bytes
.travis.yml -rw-r--r-- 1.7 KB
AUTHORS.txt -rw-r--r-- 2.1 KB
CHANGELOG.md -rw-r--r-- 21.3 KB
LICENSE.txt -rw-r--r-- 1.4 KB
MANIFEST.in -rw-r--r-- 406 bytes
README.rst -rw-r--r-- 1.7 KB
fastentrypoints.py -rw-r--r-- 4.3 KB
open_source_licenses.txt -rw-r--r-- 18.2 KB
setup.py -rw-r--r-- 4.7 KB
setup_requirements.py -rw-r--r-- 5.3 KB

README.rst

back to top