vitessce-python
vitessce-python copied to clipboard
Support raster.json via proxy
Currently, when using the widget via proxy (by running vc.widget(proxy=True)), the url field of each file definition is updated so that includes the absolute URL of the remote server (code here).
However, for raster.json, the URLs may be located in the options, and then 2 issues occur:
- the widget tries to add both
urlandoptionsto the file definition, creating an invalid config - the
urlfields withinoptionsdo not get updated
To resolve this, the widget.js code should check for raster.json with options and then update the inner url fields