We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code illustrates the leak:
import pybedtools fn = pybedtools.example_filename('a.bed') orig_fds = pybedtools.helpers.n_open_fds() # no len() n1 = [] for i in range(100): x = pybedtools.BedTool(fn) n1.append(pybedtools.helpers.n_open_fds()) print max(n1) - orig_fds #2 # check len() each time n2 = [] for i in range(100): x = pybedtools.BedTool(fn) len(x) n2.append(pybedtools.helpers.n_open_fds()) print max(n2) - orig_fds #100
The text was updated successfully, but these errors were encountered:
fixed in adc0195
Sorry, something went wrong.
No branches or pull requests
The following code illustrates the leak:
The text was updated successfully, but these errors were encountered: