Closed guswelter closed 3 years ago
Resolved. It appears this issue comes because the underlying self.hdf.close()
is called after h5py runs its own garbage collector. This also why the issue presents only when audata.file.File's garbage collector method is called.
If a Python script terminates without closing an audata file, the following output is observed:
This output is not observed if the file is close (e.g.
f.close()
) before script termination. Please implement auto-closure of files such that an exception like this is not observed if the file can be automatically closed properly.