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

More informative XYZ file reading errors #650

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

jhenin
Copy link
Member

@jhenin jhenin commented Jan 29, 2024

especially in VMD:

  • give details about discrepancies in number of atoms found and expected
  • quit early after an error to avoid drowning error messages in later, irrelevant output
  • close files upon errors so they can be reopened once errors are corrected (critical in VMD Dashboard)

In principle, could be extended to similar situations with file IO, but the benefits are less obvious than this use case.

especially in VMD
- give details about discrepancies in number of atoms found and expected
- quit early after an error to avoid drowning error messages in later,
irrelevant output
- close files upon errors so they can be reopened once errors are
corrected (critical in VMD Dashboard)
@jhenin jhenin marked this pull request as ready for review March 12, 2024 09:47
@giacomofiorin giacomofiorin merged commit a76cdab into master Mar 12, 2024
16 checks passed
@giacomofiorin giacomofiorin deleted the better_file_errors branch March 12, 2024 18:46
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.

None yet

2 participants