GMOD / jbrowse-components

Source code for JBrowse 2, a modern React-based genome browser
https://jbrowse.org/jb2
Apache License 2.0
205 stars 61 forks source link

Unable to open 'track selector' in synteny view after v2.13.0 #4500

Closed cmdcolin closed 2 months ago

cmdcolin commented 2 months ago

This code in hierarchical track selector expects a registered view model with the pluginmanager

https://github.com/GMOD/jbrowse-components/blob/ac5370853f980b6f8c1ac8f88f042d23ee7862a2/plugins/data-management/src/HierarchicalTrackSelectorWidget/model.ts#L104-L106

but the v2.13.0 release tried to sneakily extend the view types without registering with the pluginmanager

https://github.com/GMOD/jbrowse-components/blob/ac5370853f980b6f8c1ac8f88f042d23ee7862a2/plugins/linear-comparative-view/src/LinearComparativeView/model.ts#L83-L89

this causes a error when doing view.activateTrackSelector for "view 1" or "view 2"

image

cc @scottcain