-
-
Notifications
You must be signed in to change notification settings - Fork 688
Closed
Description
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))
Depends on #11080
CC: @rkirov @mwhansen @kcrisman
Component: notebook
Keywords: sd31 sd35.5
Author: William Stein, Jonathan Gutow
Reviewer: Jason Grout
Merged: sage-5.2.beta0
Issue created by migration from https://trac.sagemath.org/ticket/11078