abinit / abipy

Open-source library for analyzing the results produced by ABINIT
http://abinit.github.io/abipy
Other
117 stars 96 forks source link

EventReport.stat file not found error handling #281

Closed gbrunin closed 12 months ago

gbrunin commented 1 year ago

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 commented 12 months ago

Thanks for this improvement