Write scientific defaults upon close (Iteration::close or Series::close)#1834
Open
franzpoeschel wants to merge 55 commits intoopenPMD:devfrom
Open
Write scientific defaults upon close (Iteration::close or Series::close)#1834franzpoeschel wants to merge 55 commits intoopenPMD:devfrom
franzpoeschel wants to merge 55 commits intoopenPMD:devfrom
Conversation
Comment on lines
+281
to
+285
| // for (size_t i = 0; i < udims.size(); ++i) | ||
| // { | ||
| // res[7 * i] = 1; | ||
| // } |
Check notice
Code scanning / CodeQL
Commented-out code Note
Comment on lines
+698
to
+701
| // 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
Contributor
Author
|
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); |
Member
|
@franzpoeschel is this for 0.18.0? :) |
Contributor
Author
Yup, this is still under development |
0f1d020 to
2115ede
Compare
941b3fd to
03b283b
Compare
99b4e3c to
bca3a85
Compare
6e14b44 to
489520d
Compare
requires distinguishing openPMD standard versions
TODO: do sth similar for reading
msvc having trouble
ac83ce3 to
23dae9e
Compare
b03a47e to
d4475e5
Compare
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 #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