-
-
Notifications
You must be signed in to change notification settings - Fork 487
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 jsmol to jupyter-jsmol #30315
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
(deleted) |
comment:3
The installed files can be seen in |
Commit: |
Author: Matthias Koeppe |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
|
comment:10
I think for generating a 3d image in its documentation, compilation of which is part of its test suite. |
comment:11
Hoping we can make progress on this ticket this week - https://wiki.sagemath.org/days111 |
Changed keywords from none to sd111 |
Dependencies: #31020 |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:14
Replying to @kcrisman:
Thanks! I have adjusted the dependencies in #31020 (now a dependency) so that |
Branch pushed to git repo; I updated commit sha1. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:18
That is not a good idea. Because we want people to be able to build the documentation for SageTeX, which after all isn't "really" upstream. Instead, we should see if jsmol or some other tool suffices to build 3d pictures in SageTeX, which is a very useful use case for it. Untested = broken, and I don't think that we've ever had a dependency only in |
comment:19
Though my info on the build system is pretty outdated :-) |
comment:22
Replying to @kcrisman:
What's the status of generating 3D plots and saving them using threejs? I think for SageTeX it is irrelevant what is producing pictures, just show that it works well. Tachyon is not the best in this regard. |
comment:23
A discussion has unfolded in https://groups.google.com/g/sage-devel/c/qKqTmLzHAbg/m/6YxQ_qWUBQAJ |
This comment has been minimized.
This comment has been minimized.
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:26
I have narrowed this ticket to only separating the |
comment:27
Making jmol optional, and the discussion about new technologies to create images from 3d graphics, is now on #31027. |
comment:28
I was able to verify that JSmol still works correctly in both Jupyter and JupyterLab. However, I did notice a test failure in
Also, after removing the
and
|
comment:30
Thanks. This function, after all, does not make sense any more, so there's no point in trying to go through deprecation. I have now removed it completely (alongside with the variable |
comment:31
Looks good. JSmol still works in Jupyter and JupyterLab. |
Reviewer: Joshua Campbell |
comment:32
Thank you! |
Branch pushed to git repo; I updated commit sha1 and set ticket back to needs_review. New commits:
|
comment:34
Forgot to actually use #31002 - this change is necessary for correct installation on WSL |
comment:35
Replying to @mkoeppe:
Ok. I tested this on Ubuntu WSL earlier without any installation issues. If I understand #31002 correctly, the problem was occurring due to mounting Windows folders, which I'm not doing, so that's probably why I didn't run into it. I've gone ahead and re-verified that JSmol still works in Jupyter and JupyterLab. |
comment:36
Thanks again! |
Changed branch from u/mkoeppe/switch_jsmol_to_jupyter_jsmol__make_jmol_optional to |
Currently, jsmol is installed by the jmol spkg and then symlinked into the jupyter notebook directory.
In this ticket, we switch to https://pypi.org/project/jupyter-jsmol/ (https://github.com/fekad/jupyter-jsmol), which can be installed by standard Python tools.
Discussion: https://groups.google.com/g/sage-devel/c/qKqTmLzHAbg/m/6YxQ_qWUBQAJ
See also:
Depends on #31002
CC: @kcrisman @novoselt @fchapoton @antonio-rojas @kiwifb @slel @nbruin @paulmasson @egourgoulhon @kwankyu @enriqueartal @jcamp0x2a
Component: packages: standard
Keywords: sd111
Author: Matthias Koeppe
Branch/Commit:
80a3db1
Reviewer: Joshua Campbell
Issue created by migration from https://trac.sagemath.org/ticket/30315
The text was updated successfully, but these errors were encountered: