Fetching remote band data fails in Ideogram.js 1.1.0 using the default CDN, unpkg.com, because the CDN strips query string parameters. This bug does not manifest locally or in unit tests, but breaks the examples hosted externally on GitHub Pages.
The cause was an updated approach of getting cytogenetic band data in version 1.1.0. That version used query string parameters to associate a taxid (NCBI Taxonomy ID) between a request object and its corresponding response. The association had previously been made by adding a simple property to the d3 request object. That was no longer possible when Ideogram shifted from using the deprecated d3 request module to the standard fetch API, making query strings an appealing (but evidently brittle) solution.
This bug warrants a patch release, v1.1.1.
Fetching remote band data fails in Ideogram.js 1.1.0 using the default CDN, unpkg.com, because the CDN strips query string parameters. This bug does not manifest locally or in unit tests, but breaks the examples hosted externally on GitHub Pages.
The cause was an updated approach of getting cytogenetic band data in version 1.1.0. That version used query string parameters to associate a taxid (NCBI Taxonomy ID) between a request object and its corresponding response. The association had previously been made by adding a simple property to the d3 request object. That was no longer possible when Ideogram shifted from using the deprecated d3 request module to the standard fetch API, making query strings an appealing (but evidently brittle) solution.
This bug warrants a patch release, v1.1.1.