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

Suggestion: simple sanity checks upon attempting to read a VLSV file #24

Open
ykempf opened this issue Jun 5, 2017 · 0 comments
Open

Comments

@ykempf
Copy link
Contributor

ykempf commented Jun 5, 2017

After a few cases of waiting for Godot in production runs where a restart file was not complete, I'd suggest that some simple test be added to check that the xml footer is present at the end of the file. When trying to open a truncated file with Vlasiator, it just hangs. I suppose that just looking whether the file is long enough or whether the last bytes correspond to the end of the xml footer is not too difficult to add?

@sandroos, if you don't have time to implement it, let us know if you have hints and we can look where/how to implement that.

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

No branches or pull requests

1 participant