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
Need to close HDF5-file? #61
Comments
A workaround seems to be in /home/jackson/scripts/loop3A.py on CEP3 |
I don't see in that file any workaround (and a bit more specific would be nice...). I have looked at the hdf5 code and I don't think it's possible that the file remains open when dppp finishes normally. The H5File destructor always closes the file, and e.g. in GainCal it is on the stack, so always destructed. I think this is just an oddity of H5, or maybe there are h5 version mismatches on Neil's machine -- I've seen some similar weird things too because of this. Is this introduced during the Github fork? I don't think we changed anything there, but it could be that it is compiled differently. I myself have tried opening h5 files in Python after running dppp and found that worked fine, although I have seen that crashes could bring the whole h5 system in a weird state in which it wouldn't open anything. Unless there's a very reproducible example I don't we can do anything with this. |
I'm closing this, as I can't reproduce any issue. |
As reported by Neal:
The text was updated successfully, but these errors were encountered: