#11078: jmol in the flask notebook
------------------------+---------------------------------------------------
Reporter: jason | Owner: jason, mpatel, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.7
Component: notebook | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
The attached patch solves an issue with jmol finding the right .jmol.zip
file in the new flask notebook. This patch should only be applied *after*
the notebook is moved to a flask notebook.
The patch should replace the following line in `sage/plot/plot3d/base.pyx`
{{{
f.write('set defaultdirectory "%s"\n' % archive_name)
}}}
with
{{{
import sagenb
f.write('set defaultdirectory "cells/%s/%s"\n' %
(sagenb.notebook.interact.SAGE_CELL_ID, archive_name))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11078>
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.