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

EventReport.stat file not found error handling #281

Merged
merged 7 commits into from
Dec 4, 2023

Conversation

gbrunin
Copy link
Contributor

@gbrunin gbrunin commented Dec 1, 2023

Summary

In case the filename used to init the EventReport is not found on the machine where the object is instantiated, the os.stat is set to None instead of throwing an error. This is useful for atomate2/abinit, if multiple machines are used.

@gmatteo gmatteo merged commit 9a9f42e into abinit:develop Dec 4, 2023
1 check failed
@gmatteo
Copy link
Member

gmatteo commented Dec 4, 2023

Thanks for this improvement

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.

2 participants