aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

Implement validation routine #84

Closed giovannipizzi closed 4 years ago

giovannipizzi commented 4 years ago

This also provides a callback so one can show the progress, e.g. in combination with the tqdm library. An example of how to use is in the docstring.

Fixes #13

codecov[bot] commented 4 years ago

Codecov Report

Merging #84 into develop will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop       #84   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1044      1117   +73     
=========================================
+ Hits          1044      1117   +73     
Impacted Files Coverage Δ
disk_objectstore/__init__.py 100.00% <100.00%> (ø)
disk_objectstore/container.py 100.00% <100.00%> (ø)
disk_objectstore/utils.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dbefa5a...45ec1b8. Read the comment docs.