-
Notifications
You must be signed in to change notification settings - Fork 8
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
[Bug]: Invalid groups with linked children don't get detected as undocumented #429
Comments
/entry/sample/bias gets namefitted to /ENTRY/SAMPLE/BEAM/TRANSFORMATIONS ... This code is clearly not functioning completely. |
Isn't this a consequence of how we defined our namefitting algorithm? If This is why I am not a big fan of our current namefitting algo, but one needs to do something for these renameable fields, so I currently don't see any alternative. For The problem with throwing a warning is: what if I actually wanted to name my |
I think the solution would be to not do automatic name fitting, but always require to provide the NXCLASS in such cases (or in case of fields also the FIELDNAME). |
Otherwise this produces garbage, as here, and does not detect errors. |
Note that during NIAC2024, a new resolution was adopted for uppercase notation: nexusformat/definitions#1436. After implementing this, we would probably get rid of these ambiguities. See issue here: #441 |
We discussed this today and will adopt this to throw an error. Will look into the implementation. |
Contact Details
[email protected]
What happened?
If the converter gets a path which contains a link, but some undocumented elements in the path, it is not recognized as undocumented by the writer.
Example from NXmpes
Does not produce a warning, even though "bias" is not defined, but rather "bias_env". "bias" also does not get an NX_class attribute.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: