keithwhor / NtSeq

JavaScript (node + browser) bioinformatics library for nucleotide sequence manipulation and analysis.
MIT License
208 stars 25 forks source link

Should map.initialize().sort() be called here? #13

Open breckuh opened 6 years ago

breckuh commented 6 years ago

https://github.com/keithwhor/NtSeq/blob/e8a3f87f5f2086a9bb54eac63d0018c6071a8c37/tests/benchmark.js#L69

While running the benchmarks I was getting a type error. I traced it back to what seems like MatchMap not getting initialized.

Adding map.initialize().sort() after line 64 seemed to fix it.