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

Graceful HDF5 file handler always fails to close the file when CTRL+C #30

Open
siemdejong opened this issue Mar 24, 2023 · 0 comments
Open
Labels
bug Something isn't working

Comments

@siemdejong
Copy link
Owner

Describe the bug
The file is never closed well when interrupting with ctrl+c.

^CERROR:root:Received SIGINT or SIGTERM! Finishing this block, then exiting.                                                                                                
  5%|██████▋                                                                                                                                | 5/101 [00:10<03:25,  2.14s/it]
ERROR:dpat.data.pmchhg_h5_dataset:Something went wrong with closing the file. Please inspect the file and delete if broken.

Expected behavior
Close the file well.

Desktop (please complete the following information):

  • OS: [e.g. Linux, Windows, macOS]
  • DPAT version 4.3.1
@siemdejong siemdejong added the bug Something isn't working label Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant