Skip to content
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

Namefitted attributes are not recognized #422

Open
rettigl opened this issue Sep 9, 2024 · 1 comment
Open

Namefitted attributes are not recognized #422

rettigl opened this issue Sep 9, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@rettigl
Copy link
Collaborator

rettigl commented Sep 9, 2024

Namefitted attributes are not recognized by read_nexus, and reported as "NOT IN SCHEMA".
This applies e.g. to the AXISNAME_indices in NXdata
While "energy_indices" is defined in NXmpes, and identified correctly, "angular0_indices" is expected to be namefitted to AXISNAME_indices in NXdata, but is not:

DEBUG: ===== ATTRS (//entry/data@energy_indices)
DEBUG: value: 2 
DEBUG: classpath: ['NXentry', 'NXdata']
DEBUG: classes:
NXmpes.nxdl.xml:/ENTRY/data
NXentry.nxdl.xml:/DATA
NXdata.nxdl.xml:
DEBUG: NXmpes.nxdl.xml:/ENTRY/data@energy_indices - [NX_CHAR]
DEBUG: <<RECOMMENDED>>
DEBUG: documentation (NXmpes.nxdl.xml:/ENTRY/data/energy_indices):
DEBUG: ===== ATTRS (//entry/data@angular0_indices)
DEBUG: value: 0 
DEBUG: classpath: ['NXentry', 'NXdata']
DEBUG: classes:
NXmpes.nxdl.xml:/ENTRY/data
NXentry.nxdl.xml:/DATA
NXdata.nxdl.xml:
DEBUG: @angular0_indices - IS NOT IN SCHEMA
DEBUG: 
@rettigl
Copy link
Collaborator Author

rettigl commented Sep 9, 2024

@sanbrock is this not implemented yet, or a bug?

@lukaspie lukaspie added the good first issue Good for newcomers label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants