Skip to content
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

vt aborts when json file does not have metadata #2162

Closed
nlslatt opened this issue Jun 9, 2023 · 1 comment · Fixed by #2164
Closed

vt aborts when json file does not have metadata #2162

nlslatt opened this issue Jun 9, 2023 · 1 comment · Fixed by #2164
Assignees

Comments

@nlslatt
Copy link
Collaborator

nlslatt commented Jun 9, 2023

Describe the bug
The metadata block is listed as optional in the LBDatafile schema, but vt aborts if it is missing from the json file due to the following line in LBDataHolder::readMetadata():

auto metadata = j["metadata"];
@nlslatt nlslatt changed the title vt aborts when json file does not have phases metadata vt aborts when json file does not have metadata Jun 9, 2023
@nlslatt
Copy link
Collaborator Author

nlslatt commented Jun 9, 2023

I corrected the above description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants