-
Notifications
You must be signed in to change notification settings - Fork 10
Switch to colab #69
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
Switch to colab #69
Conversation
|
Once we get this merged I will add a badge to the readme |
|
Also you can view this without logging into google |
|
Resolves issue #70 |
|
NGLView widget isn't showing. I'm not sure if that's an inherent limitation of Colab, or maybe if that needs the old |
|
it needs enabling using: |
|
@IAlibay I tried that but wasn't able to get it to work, did it work for you? |
|
I tried a bunch of things and nothing seemed to work, which is why I added the comment |
|
it worked in MDA, I'll try to have a stab tomorrow |
|
Thanks and just in case it helps, this is what packages we have installed (maybe we need the right nglview version or something)
|
|
I don't think nglview is worth fighting for here, we use it once in a cell up top for a nice vis, but I think later vis we might use one day are py3dmol |
richardjgowers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
possibly yank the ngl cell or annotate it as flakey within colab
I had the second colab check cell fail and had to rerun (as commented).. possible this could be put inside a retry loop:
for _ in range(3):
try:
colab stuff
except:
pass
else:
break
|
If we remove nglview, can we put in a static image of the system please? there's nothing worse than being shown a notebook about a system and not actually seeing it |
Looping on a set of bash calls might not go so well? You probably will need to switch to some kind of subprocess call to properly capture outputs. |
|
@IAlibay Let me know if you get the nglview working/can point me towards one working on colab |
nah there's a deeper ipywidgets issue but I don't have the time to work it out. If you can replace it with a static image (essentially the text is just "here's the system"), then it'll do for now. |
No description provided.