Skip to content

Comments

Remove HiGlassServer (and dependency on servir)#171

Merged
manzt merged 5 commits intomanzt/jupyter-commsfrom
manzt/remove-server
Feb 11, 2025
Merged

Remove HiGlassServer (and dependency on servir)#171
manzt merged 5 commits intomanzt/jupyter-commsfrom
manzt/remove-server

Conversation

@manzt
Copy link
Member

@manzt manzt commented Feb 11, 2025

Description

This PR has two primary objectives:

  • Replace HiGlassServer, the custom background data server based on servir, with the anywidget-based comms data server. This removes any need to configure a custom server for using HiGlass Python.
  • Remove the custom higlass.display reprs and go all in on the anywidget-based repr

This simplifies the implementation of higlass-python with less magic than the custom server. Custom higlass servers can still be used with higlass-python, it's just they will need to be configured separately and supported through specifying the config with hg.remote.

What was changed in this pull request?

Why is it necessary?

Fixes #___

Checklist

  • Clear PR title (used for generating release notes).
    • Prefer using prefixes like fix: or feat: to help organize auto-generated notes.
  • Unit tests added or updated.
  • Documentation added or updated.

@manzt manzt force-pushed the manzt/remove-server branch from b5852cd to 2557f47 Compare February 11, 2025 20:08
@manzt manzt changed the title Remove servir and HiGlassServer Remove HiGlassServer (and dependency on servir) Feb 11, 2025
@manzt manzt merged commit 21a954a into manzt/jupyter-comms Feb 11, 2025
manzt added a commit that referenced this pull request Feb 11, 2025
* Remove servir and HiGlassServer

* Replace custom display with widget

* update uv.lock

* update examples

* Make singleton `JupyterTilesetClient` with typed messages
manzt added a commit that referenced this pull request Feb 11, 2025
* chore: Upgrade anywidget version

* feat: Prototype jupyter comms data-fetcher

* simple uid

* Update

* Add notebook

* Document custom send function

* make tileset concurrent

* Ruff formatting

* Clean up types

* Move TilesetClient into main library

* Add Viewconf typescript type

* Fix linting errors

* Remove `HiGlassServer` (and dependency on `servir`) (#171)

* Remove servir and HiGlassServer

* Replace custom display with widget

* update uv.lock

* update examples

* Make singleton `JupyterTilesetClient` with typed messages

* Fix syncing locations

* Update docs

* Remove track_helper

* update pyproject.toml

* fix future annotations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant