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

ResourceWarning: unclosed file #801

Closed
sjanssen2 opened this issue Dec 13, 2018 · 0 comments · Fixed by #802
Closed

ResourceWarning: unclosed file #801

sjanssen2 opened this issue Dec 13, 2018 · 0 comments · Fixed by #802

Comments

@sjanssen2
Copy link

I am getting a resource warning, when loading a biom table like this:

table = biom.load_table(file_biom)

/home/sjanssen/miniconda2/envs/ggmap/lib/python3.5/site-packages/biom/util.py:393: ResourceWarning: unclosed file <_io.BufferedReader name='/home/sjanssen/miniconda /envs/notebookServer/src/ggmap/ggmap/test/data/diffAbundance/counts.biom'>
  return open(fp, 'rb').read(2) == b'\x1f\x8b'
ElDeveloper added a commit to ElDeveloper/biom-format that referenced this issue Dec 13, 2018
wasade pushed a commit that referenced this issue Aug 27, 2019
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 a pull request may close this issue.

1 participant