Git Product home page Git Product logo

Comments (12)

choldgraf avatar choldgraf commented on May 30, 2024 1

woot! thanks for your patience in figuring it out!

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

argg, I bet we need to re-build this repo because jupyterlab updated its versions...I'll trigger a rebuild now, lemme know if this is still a problem!

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

btw, where does clustergrammer come from? Is is a dependency of one of the packages in this repo?

from jupyterlab.

cornhundred avatar cornhundred commented on May 30, 2024

Hi @choldgraf, clustergrammer is a library that clustergrammer2 (the widget) depends on. These libraries are included in the clustergrammer2_test repo's requirements.txt.

I'm using the clustergrammer2_test repo to test the widget on mybinder and I'm still seeing the same build error for Jupyter lab.

mybinder notebook link

https://mybinder.org/v2/gh/ismms-himc/clustergrammer2_test/master?filepath=notebooks%2Fintroduction_nb.ipynb

mybinder lab link

https://mybinder.org/v2/gh/ismms-himc/clustergrammer2_test/master?urlpath=lab

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

ah ok - so this issue isn't specifically for this repo then (binder-examples/jupyterlab)?

Looking into the clustergrammer2 widget, it doesn't seem like it's been made available for lab yet:

MaayanLab/clustergrammer-widget#10

does that look correct to you?

from jupyterlab.

cornhundred avatar cornhundred commented on May 30, 2024

I'm working on a new widget to replace clustergrammer-widget (https://github.com/maayanlab/clustergrammer-widget), that I'm calling clustergrammer2 (https://github.com/ismms-himc/clustergrammer2).

Clustergrammer2 works in Jupyter Notebook and Lab locally (I tested pip installing the widget on a few computers and it's working in notebook and lab). However, it only runs on mybinder notebook, but not lab. Sorry for the confusion.

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

From your site you mention you must install the widget with

jupyter labextension install @jupyter-widgets/jupyterlab-manager

but I don't see this in your repository (in a postBuild file)...can you try adding this?

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

(or whatever other installation commands need to be run to get it working on jupyterlab, make sure you have those run in the binder repository as well)

from jupyterlab.

cornhundred avatar cornhundred commented on May 30, 2024

Thanks @choldgraf adding the postBuild file (here next to requirements.txt) and making it executable using

chmod +x postBuild

worked.

I'm now able to see the widget in mybinder Jupyter Lab.

mybinder lab link

and

mybinder notebook link

Thanks again for your help!

from jupyterlab.

cornhundred avatar cornhundred commented on May 30, 2024

Hi @choldgraf, I'm running into the same issue again I believe.

I raised the issue here jupyter-widgets/ipywidgets#2498.

Not sure it the issue is appropriate for this repo.

from jupyterlab.

choldgraf avatar choldgraf commented on May 30, 2024

I'd double check that the version of jupyter lab is the same in both, I know it just had a new version released

from jupyterlab.

cornhundred avatar cornhundred commented on May 30, 2024

@choldgraf thanks. I was able to fix it and close the issue by releasing a new version of Clustergrammer2. I might have not built the lab extension previously.

from jupyterlab.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.