Skip to content

130 neat crashes with target bed file 500 lines#131

Merged
joshfactorial merged 2 commits intodevelopfrom
130-neat-crashes-with-target_bed-file-500-lines
Oct 30, 2024
Merged

130 neat crashes with target bed file 500 lines#131
joshfactorial merged 2 commits intodevelopfrom
130-neat-crashes-with-target_bed-file-500-lines

Conversation

@joshfactorial
Copy link
Copy Markdown
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