'Evening,
I've noticed that going from v1.8.7 to v1.8.8 the h5diff utility now
notices an attribute difference that I would like to ignore.
Trying "--exclude-path=/some_attribute" either doesn't seem to ignore
"some_attribute" on group "/" or else I'm specifying an attribute path
incorrectly.
Suggestions much appreciated,
Rhys
Hi Rhys,
"--exclude-path" option is only for ignoring object but not attribute.
Unfortunately the h5diff doesn't have option to ignore attribute yet. It's in the task queue but not yet supported due to no funding source.
Just curious, do you want to ignore all the attributes from comparison or only certain attributes in certain object? Your feedback can be updated to the task entry for a use case.
Thanks,
Jonathan
···
On 10/29/2012 10:05 PM, Rhys Ulerich wrote:
'Evening,
I've noticed that going from v1.8.7 to v1.8.8 the h5diff utility now
notices an attribute difference that I would like to ignore.
Trying "--exclude-path=/some_attribute" either doesn't seem to ignore
"some_attribute" on group "/" or else I'm specifying an attribute path
incorrectly.
Suggestions much appreciated,
Rhys
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
Hi Jonathan,
Do you want to ignore all the attributes from comparison or only certain
attributes in certain object?
Only certain attributes in certain objects.
E.g. I have an attribute called "generated_by" on group "/" which I'd
like to ignore. Syntactically, a simple subset of XPath would permit
specifying attributes in addition to datasets:
"--exclude-path=/[@generated_by]".
I'm not advocating all of XPath, just stealing their idea on how to
denote a named attribute under a node.
Thank you for your quick response,
Rhys
Rhys,
Hi Jonathan,
Do you want to ignore all the attributes from comparison or only certain
attributes in certain object?
Only certain attributes in certain objects.
E.g. I have an attribute called "generated_by" on group "/" which I'd
like to ignore. Syntactically, a simple subset of XPath would permit
specifying attributes in addition to datasets:
"--exclude-path=/[@generated_by]".
I'm not advocating all of XPath, just stealing their idea on how to
denote a named attribute under a node.
We also discussed about XPath like possibility internally, so thanks for your input!
Thanks for sharing your use case!
Jonathan
···
On 10/30/2012 10:00 AM, Rhys Ulerich wrote:
Thank you for your quick response,
Rhys
_______________________________________________
Hdf-forum is for HDF software users discussion.
Hdf-forum@hdfgroup.org
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org