frankkramer-lab / aucmedi

a framework for Automated Classification of Medical Images
https://frankkramer-lab.github.io/aucmedi/
GNU General Public License v3.0
38 stars 13 forks source link

Cleanup temporary files for Bagging #121

Closed muellerdo closed 2 years ago

muellerdo commented 2 years ago

with close statement?

muellerdo commented 2 years ago

https://docs.python.org/3.8/library/atexit.html

https://docs.python.org/3.8/library/contextlib.html#contextlib.closing

https://stackoverflow.com/questions/13379742/right-way-to-clean-up-a-temporary-folder-in-python-class