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

openpmd-pipe: fix handling of constant components #1530

Merged

Conversation

franzpoeschel
Copy link
Contributor

Until now, the attributes value and shape were written by the attribute cloning logic manually, and then again by make_constant. This can cause issues in backends (especially ADIOS2) that only allow limited kinds of redefining attributes.

@franzpoeschel franzpoeschel merged commit 6b4c455 into openPMD:dev Oct 6, 2023
28 checks passed
eschnett added a commit to eschnett/openPMD-api that referenced this pull request Oct 13, 2023
* dev:
  [pre-commit.ci] pre-commit autoupdate (openPMD#1536)
  Fix double mesh.read() call (openPMD#1535)
  Python 3.12: Remove Distutils (openPMD#1508)
  openpmd-pipe: fix handling of constant components (openPMD#1530)
  Bug fix: Linear read mode cannot directly access specific file of file-based Series (openPMD#1533)
  Unknown openPMD version in data: Add upgrade hint (openPMD#1528)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants