-
-
Notifications
You must be signed in to change notification settings - Fork 321
Add h5diff message about file object difference #6103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
hyoklee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mattjala , thank you for the quick fix!
|
|
||
| if (opts->contents == 0 && !opts->mode_verbose) { | ||
| printf("Files do not have the same set of objects.\n"); | ||
| printf("Use -v for a list of objects.\n"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know whether "a list of objects" means objects in both files or just one file and, if so, which one and should it be both? If it should be both, then it can be a separate issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The -v option prints a list of the objects in both of the files and indicates which ones are not shared between the two files. I don't think the -v option needs any changes - what specific change are you requesting?
h5diffsilently returns an error code of 1 whenever the two provided files differ structurally (one contains an object the other does not, different total object count). This PR adds a message indicating that the two files do not contain the same object set.Resolves #6102
Important
Add message in
h5diffto indicate when files do not have the same set of objects, with updates to expected test outputs.print_info()inh5diff_common.cwhen files differ structurally andopts->contentsis 0, suggesting to use-vfor more details.h5diff_11.txtandh5diff_13.txtto include new message about differing object sets.This description was created by
for 2a42195. You can customize this summary. It will automatically update as commits are pushed.