Skip to content

always use fixed order of name and type in nyaml - #64

Merged
lukaspie merged 1 commit into
mainfrom
name-and-type-order
Feb 28, 2025
Merged

always use fixed order of name and type in nyaml#64
lukaspie merged 1 commit into
mainfrom
name-and-type-order

Conversation

@lukaspie

@lukaspie lukaspie commented Feb 27, 2025

Copy link
Copy Markdown
Collaborator

As discussed in FAIRmat-NFDI/nexus_definitions#332 (comment), we should have a consistent way of writing the name and the type for a given concept.

Namely, it should be name(type), i.e. sensor(NXsensor) and not (NXsensor)sensor, independent of what comes first in the NXDL file. Note that there is no order to the XML attributes anyway, so the enforced structure that was implemented before this PR doesn't really make sense.

@lukaspie
lukaspie force-pushed the name-and-type-order branch from 5b40625 to ee90073 Compare February 28, 2025 11:44

@RubelMozumder RubelMozumder left a comment

Copy link
Copy Markdown
Collaborator

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 7a2e55a into main Feb 28, 2025
@lukaspie
lukaspie deleted the name-and-type-order branch February 28, 2025 11:58
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