diff --git a/gosling/display.py b/gosling/display.py index b0b802d4..644b41f4 100644 --- a/gosling/display.py +++ b/gosling/display.py @@ -8,6 +8,10 @@ from gosling.plugin_registry import PluginRegistry from gosling.schema import SCHEMA_VERSION, THEMES +# TODO: This is kind of a mess. Gosling.js can be very finky with its +# peer dependencies in various Jupyter-like environments. This is a +# hacky way to get things working in JupyterLab, Jupyter Notebook, +# VSCode, and Colab consistently. HTML_TEMPLATE = jinja2.Template( """ @@ -91,7 +95,7 @@ class GoslingBundle: def get_display_dependencies( gosling_version: str = SCHEMA_VERSION.lstrip("v"), - higlass_version: str = "~1.11", + higlass_version: str = "~1.12", react_version: str = "17", pixijs_version: str = "6", base_url: str = "https://unpkg.com", diff --git a/gosling/schema/__init__.py b/gosling/schema/__init__.py index 57810bbb..bc25e134 100644 --- a/gosling/schema/__init__.py +++ b/gosling/schema/__init__.py @@ -1,6 +1,6 @@ # flake8: noqa from .core import * from .channels import * -SCHEMA_VERSION = 'v0.9.28' -SCHEMA_URL = 'https://raw.githubusercontent.com/gosling-lang/gosling.js/v0.9.28/schema/gosling.schema.json' +SCHEMA_VERSION = 'v0.9.29' +SCHEMA_URL = 'https://raw.githubusercontent.com/gosling-lang/gosling.js/v0.9.29/schema/gosling.schema.json' THEMES = {'dark', 'ensembl', 'excel', 'ggplot', 'google', 'igv', 'jbrowse', 'light', 'ucsc', 'warm', 'washu'} diff --git a/tools/generate_schema_wrapper.py b/tools/generate_schema_wrapper.py index 1862125f..254f260a 100644 --- a/tools/generate_schema_wrapper.py +++ b/tools/generate_schema_wrapper.py @@ -411,7 +411,7 @@ def generate_mark_mixin(schemafile: pathlib.Path, mark_enum: str, style_def: str def main(skip_download: Optional[bool] = False): library = "gosling.js" - version = "v0.9.28" + version = "v0.9.29" schemapath = here.parent / ".." / "gosling" / "schema" schemafile = download_schemafile(