mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
changed ipython to jupyter
When converting jupyter notebook to html, ipython command is used instead of jupyter (ipython is becoming obsolete).
This commit is contained in:
@@ -784,7 +784,7 @@ nglims_config_file = tool-data/nglims.yaml
|
||||
# notebooks in Galaxy histories. This process may allow users to execute
|
||||
# arbitrary code or serve arbitrary HTML. If enabled, IPython must be
|
||||
# available and on Galaxy's PATH, to do this run
|
||||
# `pip install jinja2 pygments ipython` in Galaxy's virtualenv.
|
||||
# `pip install jinja2 pygments jupyter` in Galaxy's virtualenv.
|
||||
#trust_ipython_notebook_conversion = False
|
||||
|
||||
# Debug enables access to various config options useful for development and
|
||||
|
||||
@@ -144,7 +144,7 @@ class Ipynb( Json ):
|
||||
ofilename = ofile_handle.name
|
||||
ofile_handle.close()
|
||||
try:
|
||||
cmd = 'ipython nbconvert --to html --template full %s --output %s' % (dataset.file_name, ofilename)
|
||||
cmd = 'jupyter nbconvert --to html --template full %s --output %s' % (dataset.file_name, ofilename)
|
||||
log.info("Calling command %s" % cmd)
|
||||
subprocess.call(cmd, shell=True)
|
||||
ofilename = '%s.html' % ofilename
|
||||
|
||||
Reference in New Issue
Block a user