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 usage of the 'b' tag under situations in CRA4 where a Uint8Array is received instead of Buffer #123

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

cmdcolin
Copy link
Contributor

didn't fully trace but in general, adapting code to just work from plain Uint8Array tends to be good since Buffer requires polyfill

fixes GMOD/jbrowse-components#3427

@cmdcolin cmdcolin merged commit 213f473 into master Dec 21, 2022
@cmdcolin cmdcolin deleted the fix_cra4 branch December 21, 2022 09:52
@cmdcolin
Copy link
Contributor Author

just to be clear, the "data.toString()" called on the Uint8Array instead of a Buffer produces a long array like 65,63,65... instead of ACGT and then that messed up coordinate calculations

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.

Issue with CRAM file with embedded LGV in create-react-app v4 specifically
1 participant