10000 allow inheritance for non-enumerated fields from other enumerated fields by lukaspie · Pull Request #632 · FAIRmat-NFDI/pynxtools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

allow inheritance for non-enumerated fields from other enumerated fields #632

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

Merged
merged 1 commit into from
Apr 29, 2025

Conversation

lukaspie
Copy link
Collaborator

Previously, fields that don't define enumerations did not inherit from fields that have an enumeration. But in the appdef design, the idea was that you can skip the enumeration because you don't want to specialize it. Hence, we should also such kind of inheritance by default.

As an example /NXmpes/ENTRY/INSTRUMENT/ELECTRONANALYZER/COLLECTIONCOLUMN/projection-field was not inheriting from /NXcollectioncolumn/projection-field in the NexusTree implementation.

@lukaspie lukaspie requested a review from rettigl April 29, 2025 12:38
Copy link
Collaborator
@rettigl rettigl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lukaspie lukaspie merged commit 23ff13f into master Apr 29, 2025
17 checks passed
@lukaspie lukaspie deleted the inheritance-fix branch April 29, 2025 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0