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

Bug fix: Linear read mode cannot directly access specific file of file-based Series #1533

Conversation

franzpoeschel
Copy link
Contributor

Not a frequent use case, since linear read mode is not really necessary for single-iteration files anyway, but it can happen e.g. when using openpmd-pipe as in openpmd-pipe --infile simData_000100.bp --outfile ....
Since linear read mode does no parsing at construction time at all, it cannot initially know that the file is indeed file-based and needs to add a later check.

@franzpoeschel franzpoeschel added this to the 0.15.3 milestone Oct 4, 2023
@franzpoeschel franzpoeschel merged commit 89d3a2b 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