-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use on Google Colab? #3
Comments
random other note: i think this repo is missing a license |
Thanks. This should be working. I ran into it the other day and wonder if Colab has changed something. Ideally, we would use anywidget to send the data but If we used the Jupyter websocket (via anywidget), we could reuse this channel for better consistency across all environments.
oops, just added. Thanks for pointing this out! |
For context, Google Colab (historically) has used a Service Worker in the front end to authenticate and proxy HTTP requests to Update: I'm able to get !pip install --quiet pygv
!wget https://raw.githubusercontent.com/sehilyi/gemini-datasets/master/data/UCSC.HG38.Human.CytoBandIdeogram.bed import pygv
pygv._api._PROVIDER.start(host="0.0.0.0") # start background server on `0.0.0.0` instead of `localhost`
pygv.ref("hg38")
pygv.locus("chr1")
track = pygv.track("UCSC.HG38.Human.CytoBandIdeogram.bed")
track.url = track.url.replace("0.0.0.0", "localhost") # change URL given by servir to `localhost` for front end 🙄
pygv.browse(track) More in-depth discussion: higlass/higlass-python#144 |
excellent, thanks for checking that out! I am really curious what something like #1 could look as well... |
Hello:)
It is great to see this project.
I was trying to see if it worked on Google Colab but it seemed to give an error
screenshot
is this expected? i was interested in the servir code cause that worked seemlessly locally in the jupyter lab notebook
The text was updated successfully, but these errors were encountered: