Tools refactor

Move error_stack setup to tools library
Add structure for h5dump properties
Eliminate duplicated h5diff functions
Use properties structure in place of argument lists.
This commit is contained in:
Allen Byrne
2020-07-15 11:20:16 -05:00
parent 900e75544e
commit bac0fc6309
60 changed files with 3917 additions and 4683 deletions

View File

@@ -17,10 +17,9 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
Verbose mode with level. Print differences and list of objects.
Level of detail depends on value of N:
0 : Identical to '-v' or '--verbose'.
1 : All level 0 information plus one-line attribute
status summary.
2 : All level 1 information plus extended attribute
status report.
1 : All level 0 information plus one-line attribute status summary.
2 : All level 1 information plus extended attribute status report.
3 : All level 2 information plus file names.
-q, --quiet
Quiet mode. Do not produce output.
--enable-error-stack
@@ -109,6 +108,14 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[ obj2]]
excluded.
This option can be used repeatedly to exclude multiple paths.
--exclude-attribute "path/to/object/with/attribute"
Exclude attributes on the specified path to an object when comparing files or groups.
If there are multiple paths to an object, only the specified path(s)
will be excluded; the comparison will include any path not explicitly
excluded.
This option can be used repeatedly to exclude multiple paths.
Modes of output:
Default mode: print the number of differences found and where they occured
-r Report mode: print the above plus the differences