Does h5diff --exclude-attribute work on file level attrbutes?

Does –exclude-attribute in h5diff work on file (or root) level attributes?

I’m not having much luck:

> h5diff --exclude-attribute ATTR File1.h5 File2.h5
attribute: <ATTR of </>> and <ATTR of </>>
3 differences found
> h5diff --exclude-attribute /ATTR File1.h5 File2.h5
attribute: <ATTR of </>> and <ATTR of </>>
3 differences found
otlcf06:/scratch/dkahn/TestExclude>

Hi, the tool’s usage said:

–exclude-attribute “path/to/object/with/attribute”
Exclude attributes on the specified path to an object when comparing files or groups.

My understanding is that you don’t have the choice of specific attribute. Maybe, I misunderstood your sample and, if so, please explain to me.

Thanks. That explains it. It also means the option does not help me (and it seems the lack of a feature to exclude a single attribute is an odd omission.)

I see what you’re saying and I suggest that you create a GitHub issue for it. We currently do not have a timeline for addressing the issue but having it there will be helpful for when resources are available. Thank you.