DanielBiegler / DanielBiegler/visualize-dna-sequences
Uncaught (in promise) RangeError: Array buffer allocation failed
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
If the input is too large plotly will crash, currently there is no user feedback except for in the console which isn't good UX
Reproduce:
* pick a 3D mode
* select a big input file (I tried 8mb)
* pick a small resolution
Now it prints:
```
Uncaught (in promise) RangeError: Array buffer allocation failed
at new ArrayBuffer ()
at h (plotly-latest.min.js:7)
at Object.y (plotly-latest.min.js:7)
at v.m.update (plotly-latest.min.js:7)
at e.exports (plotly-latest.min.js:7)
at m.y.update (plotly-latest.min.js:7)
at Object.e.exports [as plot] (plotly-latest.min.js:7)
at _.w.plot (plotly-latest.min.js:7)
at Object.r.plot (plotly-latest.min.js:7)
at r.drawData (plotly-latest.min.js:7)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.