8000 handle variable-name attributes in writer by lukaspie · Pull Request #641 · FAIRmat-NFDI/pynxtools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

handle variable-name attributes in writer #641

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
May 21, 2025
Merged

Conversation

lukaspie
Copy link
Collaborator
@lukaspie lukaspie commented May 20, 2025

For variable-name attributes, we are now using this notation in the template: "@AXISNAME_indices[energy_indices]" (see also https://github.com/FAIRmat-NFDI/pynxtools-mpes/pull/52/files). The existing logic was interpreting this to write an HDF5 attribute @energy_indices, but we don't actuallly want to write the @ into the file. With this PR, the name of the attribute is energy_indices, as expected.

@rettigl
Copy link
Collaborator
rettigl commented May 21, 2025

For variable-name attributes, we are not using this notation in the template

Are you meaning " we are now using this notation"?

I thought we agreed on "@AXISNAME_indices[@energy_indices]"

@lukaspie
Copy link
Collaborator Author

For variable-name attributes, we are not using this notation in the template

Are you meaning " we are now using this notation"?

I thought we agreed on "@AXISNAME_indices[@energy_indices]"

Yes, sorry. We are using "@AXISNAME_indices[@energy_indices]", correct.

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 709ce46 into master May 21, 2025
17 checks passed
@lukaspie lukaspie deleted the writer-variable-attrs branch May 21, 2025 18:59
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