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

130 neat crashes with target bed file 500 lines #131

Merged

Conversation

joshfactorial
Copy link
Collaborator

Fixing a bug that caused the memory to grow out of control while processing a bed file. The issue was we were passing the entire reference dict to the bed function, which was causing python to duplicate the dictionary. Instead, we created a counts dictionary, which we incidentally needed later anyway. This should simplify looking up lengths of chromosomes and memory size. We will investigate further to see if there are more gains to be found here.

@joshfactorial joshfactorial merged commit 9d8aaaf into develop Oct 30, 2024
@joshfactorial joshfactorial deleted the 130-neat-crashes-with-target_bed-file-500-lines branch November 14, 2024 03:08
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.

1 participant