-
Notifications
You must be signed in to change notification settings - Fork 54
Write scientific defaults upon close (Iteration::close or Series::close) #1834
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
base: dev
Are you sure you want to change the base?
Conversation
| // for (size_t i = 0; i < udims.size(); ++i) | ||
| // { | ||
| // res[7 * i] = 1; | ||
| // } |
Check notice
Code scanning / CodeQL
Commented-out code Note
| // TODO: unitSI | ||
| // REQUIRE(r["x"].numAttributes() == 0); | ||
| // REQUIRE(r["y"].numAttributes() == 0); | ||
| // REQUIRE(r["z"].numAttributes() == 0); |
Check notice
Code scanning / CodeQL
Commented-out code Note test
|
TODO: Move this check into finalize, maybe only print a warning throw std::runtime_error(
"A Record can not be written without any contained "
"RecordComponents: " +
name); |
|
@franzpoeschel is this for 0.18.0? :) |
Yup, this is still under development |
Moved to finalize(), degraded to warning
0f1d020 to
2115ede
Compare
prep for reading
941b3fd to
03b283b
Compare
requires distinguishing openPMD standard versions
TODO: do sth similar for reading
| } | ||
|
|
||
| template <typename... Args> | ||
| [[nodiscard]] auto withReader(Args &&...) -> ConfigAttribute & |
Check notice
Code scanning / CodeQL
Unused static variable Note
| } | ||
|
|
||
| template <typename... Args> | ||
| [[nodiscard]] auto withReader(Args &&...) -> ConfigAttribute & |
Check notice
Code scanning / CodeQL
Unused local variable Note
Close #1439
This PR focuses on Iteration-level attributes (including attributes included below Iteration level)
Needed for introducing a synchronous mode
TODO:
finalize()method publically, so users can request openPMD to set defaults now