Skip to content

openpmd-pipe: fix handling of constant components#1530

Merged
franzpoeschel merged 2 commits intoopenPMD:devfrom
franzpoeschel:fix-pipe-constant-components
Oct 6, 2023
Merged

openpmd-pipe: fix handling of constant components#1530
franzpoeschel merged 2 commits intoopenPMD:devfrom
franzpoeschel:fix-pipe-constant-components

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
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