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:
Anne Fouilloux
2016-12-09 12:18:18 +01:00
parent d478cc41a6
commit d61356dfea
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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