#9238: J. Gutow's update to Jmol in the notebook...
---------------------------------------------------------------+------------
Reporter: gutow |
Owner: gutow
Type: enhancement |
Status: needs_review
Priority: major |
Milestone: sage-4.7.2
Component: notebook |
Keywords: sd31, sd32
Work_issues: |
Upstream: N/A
Reviewer: Jason Grout, Karl-Dieter Crisman, William Stein |
Author: Jonathan Gutow
Merged: |
Dependencies:
---------------------------------------------------------------+------------
Comment(by strogdon):
Replying to [comment:175 gutow]:
> Replying to [comment:174 strogdon]: Thanks for the code snippets. I
have run them through a system with most of our latest patches in the
flask version. They do not seem to be problematic. I had no trouble with
a worksheet using your second (no-frame) example with 12 duplicates in a
worksheet. It does take a while to work its way back to the top from the
12th applet (about 25 seconds using my slow home connection). This was a
relatively severe test as the whole connection is encrypted as well, which
slows things down further. I did get a warning pop-up while the system
was waiting for me to OK trusting the applet over the encrypted connection
when I evaluated the first cell. Once this was done things worked rapidly
each time I evaluated an additional cell, because the applet was cached.
Does that sound like I checked everything?
This sounds good. If you get 12 applets to load in 25 seconds with the
(no-frame) option then the flask implementation is definitely an
improvement. With the async patch I'm able to load 12 applets, with
frames, over nfs in about 40 seconds. I get one sequence of pop-ups after
everything has loaded relative to trouble loading jmol Applet #0. However,
with the (no-frame) option I get a sequence of pop-ups for each loading
Applet.
The odd behavior with "TypeError" in a pop-up seems to occur only if the
async patch isn't applied. With the async patch and with frames doing
either of
a) select "delete all output", then select "evaluate all"
b) select "evaluate all" without first deleting the output
gives the above behavior of one sequence of pop-ups relative to loading
jmol Applet #0. For the several times I've tried, all Applets do load.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9238#comment:177>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.