Skip to content

jmol in the flask notebook #11078

@jasongrout

Description

@jasongrout

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions