Closed mnmelo closed 10 months ago
Dear @mnmelo: I am sorry to hear that, but (yeah, there is always a but), it's really up to google to fix the colab. It's out of nglview
's hand.
Of course. I was just wondering whether this could be an issue in how nglview/NGL handle the different environments.
I don't think so. IMO, if nglview
works well for notebook and lab, it should be something else.
Close as "won't fix" since there is nothing I can do. colab needs to do something.
I've got diverging results when trying to show two simultaneous structures (a protein and, overlayed, its Martini 3 CG transformation) in Jupyter Lab and in Google Colab.
In Jupyter all seems as I want:
In Colab, however, the second component is ignored and the ball_and_stick rendering is applied to the first component:
Refreshing the Colab page seems to fix this in some cases:
Another possibly important aspect is that I must update ipywidgets from within Colab, and then can only restart the session, since a runtime restart loses changed files. Prior to update ipywidgets is version 7.7.1.
Help appreciated! I attach the used structure files. structures.zip