triqs.utility.h5diff
TRIQS-aware comparison of two HDF5 archives.
The module is also installed as a console entry point so that
python -m triqs.utility.h5diff file1.h5 file2.h5 can be used from
the shell.
Attributes
- verboseint
Module-level flag. When set to a truthy value,
compare()prints the key being inspected at each level of the recursion. Default0.- failureslist of str
Module-level list to which
compare()appends a human-readable error message for every mismatch.h5diff()inspects it after walking the archives and raises if it is non-empty.
Functions
|
Recursively compare two objects identified by |
|
Compare two HDF5 archives and raise on mismatch. |