Filename extensions: Allow specifying wildcards#1584
Merged
franzpoeschel merged 26 commits intoopenPMD:devfrom Feb 28, 2024
Merged
Filename extensions: Allow specifying wildcards#1584franzpoeschel merged 26 commits intoopenPMD:devfrom
franzpoeschel merged 26 commits intoopenPMD:devfrom
Conversation
franzpoeschel
commented
Jan 15, 2024
75949da to
4708900
Compare
38edc16 to
7d3d398
Compare
franzpoeschel
commented
Jan 30, 2024
7d3d398 to
015afa1
Compare
015afa1 to
be4118f
Compare
6 tasks
ax3l
reviewed
Feb 27, 2024
ax3l
reviewed
Feb 27, 2024
ax3l
reviewed
Feb 27, 2024
| * @brief Construct a new Series | ||
| * | ||
| * @param filepath The backend will be determined by the filepath extension. | ||
| * @brief Construct a new Series. |
Member
There was a problem hiding this comment.
Let's add a .. tip:: in the First Read overview:
https://openpmd-api.readthedocs.io/en/latest/usage/firstread.html#open
That explains %T and %E in 1-2 sentences.
Member
There was a problem hiding this comment.
.. tip::
Use the wildcards `%T` to match filename encoded iterations and `%E` to match supported extensions such as `.h5` and `.bp`.
ax3l
approved these changes
Feb 27, 2024
Member
ax3l
left a comment
There was a problem hiding this comment.
This is awesome. Please add the .. tip:: and then we ready.
todo: 1. temporarily initialize with dummy io handler 2. move the late initialization logic to IOHandler()
Co-authored-by: Franz Pöschel <franz.poeschel@gmail.com>
adc9ed8 to
d19a50b
Compare
aa673d2 to
8212999
Compare
Member
|
Thanks for implementing that file ending wild card @franzpoeschel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Close #1561
Diff: https://github.com/franzpoeschel/openPMD-api/compare/refactor-extract-bufferedactions..topic-wildcard-extension
Usage idea:
Todo: