wepy
wepy copied to clipboard
Errorless cleanup of un-initialized HDF5 files
As seen in the traceback of #112 if the HDF5Reporter is not initialized properly in a context manager you get a confusing AttributeError if there is no closed attribute.
This should be handled more cleanly by either ensuring a meaningful closed is always present or first checking if this attribute exists.