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

Fix fetching data from file where refNames are not sorted #61

Merged
merged 2 commits into from
Mar 5, 2024

Conversation

cmdcolin
Copy link
Collaborator

@cmdcolin cmdcolin commented Mar 5, 2024

Fixes #59

This simplifies the range.ts file significantly. Makes it take only one argument type in it's constructor: an array of "IRange" which is something with a min and max. Then we can remove some type any usages, and everything kind of flows from there as there is much less type confusion

@cmdcolin
Copy link
Collaborator Author

cmdcolin commented Mar 5, 2024

the test file is somewhat large for this repo, but i couldn't make a minimal test example with bedGraphToBigWig

@cmdcolin cmdcolin changed the title Fix ranges bbi2 Fix fetching data from file where refNames are not sorted Mar 5, 2024
@cmdcolin cmdcolin merged commit 885f8c6 into master Mar 5, 2024
1 check passed
@cmdcolin cmdcolin deleted the fix_ranges_bbi2 branch March 5, 2024 17:05
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.

TypeError: this.ranges.map is not a function
1 participant