-
Notifications
You must be signed in to change notification settings - Fork 51
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
Filename extensions: Allow specifying wildcards #1584
Filename extensions: Allow specifying wildcards #1584
Conversation
75949da
to
4708900
Compare
@@ -1180,6 +1181,98 @@ | |||
"../samples/optionsViaJsonPseudoFilebased%T.json")); | |||
} | |||
|
|||
TEST_CASE("wildcard_extension", "[core]") |
Check notice
Code scanning / CodeQL
Unused static function Note test
autoRegistrar45
38edc16
to
7d3d398
Compare
7d3d398
to
015afa1
Compare
015afa1
to
be4118f
Compare
* @brief Construct a new Series | ||
* | ||
* @param filepath The backend will be determined by the filepath extension. | ||
* @brief Construct a new Series. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.. tip::
Use the wildcards `%T` to match filename encoded iterations and `%E` to match supported extensions such as `.h5` and `.bp`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Thanks for implementing that file ending wild card @franzpoeschel |
Close #1561
Diff: https://github.com/franzpoeschel/openPMD-api/compare/refactor-extract-bufferedactions..topic-wildcard-extension
Usage idea:
Todo: