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

Check that coordinate file exists before trying to read it #672

Closed
wants to merge 2 commits into from

Conversation

giacomofiorin
Copy link
Member

Uses std::filesystem::exists from the C++17 standard library, which is supported in GROMACS, to print a more informative error message. VMD will most likely not support it in the near future, but at least doesn't raise a "not implemented" error.

Fixes #667.

C++17 is kind of pushing it, stepping down to C++14 to keep a test for that
compiler.
@giacomofiorin
Copy link
Member Author

Closing, see comments in #667

@giacomofiorin giacomofiorin deleted the check-coor-file-exists branch March 16, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Better error message when trying to load coordinates from missing files
1 participant