-
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
| } | ||
|
|
||
| template <typename Child> | ||
| void ScientificDefaults<Child>::addDefaults() |
Check warning
Code scanning / CodeQL
Poorly documented large function
| } | ||
|
|
||
| template <typename Child> | ||
| void ScientificDefaults<Child>::addDefaults() |
Check warning
Code scanning / CodeQL
Poorly documented large function
| // for (size_t i = 0; i < udims.size(); ++i) | ||
| // { | ||
| // res[7 * i] = 1; | ||
| // } |
Check notice
Code scanning / CodeQL
Commented-out code
| // 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
|
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
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