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

use contextmanager to open/close files #32

Merged
merged 2 commits into from
Dec 17, 2017
Merged

Conversation

kain88-de
Copy link
Contributor

This helps cleaning up files access and ensures that they are closed
again. This will stop the leaks happening.

This helps cleaning up files access and ensures that they are closed
again. This will stop the leaks happening.
@abradle
Copy link
Collaborator

abradle commented Dec 17, 2017

thanks! nice

@abradle abradle merged commit 1e2e137 into rcsb:master Dec 17, 2017
@kain88-de kain88-de deleted the open-files branch December 17, 2017 20:41
@kain88-de
Copy link
Contributor Author

Hi do you mind making a release? I'm tracking warnings in MDAnalysis testsuite and mmtf currently has a lot of resource warnings because of the open file leaks.

Also happy new year!

@abradle
Copy link
Collaborator

abradle commented Jan 3, 2018 via email

@kain88-de
Copy link
Contributor Author

Thanks. I also updated the conda-forge package.

@abradle
Copy link
Collaborator

abradle commented Jan 3, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants