From 3ab46acf40e04d3b24e672cbbf5c47670ffb3ba2 Mon Sep 17 00:00:00 2001 From: Anup Kumar Date: Fri, 5 Feb 2021 15:52:41 +0100 Subject: [PATCH] Add tool and default ipynb file --- tools/interactive/default_notebook_ml.ipynb | 49 +++++++++++++++++++ .../interactivetool_ml_jupyter_notebook.xml | 6 +-- 2 files changed, 52 insertions(+), 3 deletions(-) create mode 100644 tools/interactive/default_notebook_ml.ipynb diff --git a/tools/interactive/default_notebook_ml.ipynb b/tools/interactive/default_notebook_ml.ipynb new file mode 100644 index 00000000000..7729f6e2e7a --- /dev/null +++ b/tools/interactive/default_notebook_ml.ipynb @@ -0,0 +1,49 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "uniform-equivalent", + "metadata": {}, + "source": [ + "# Welcome to the interactive Galaxy IPython Notebook for Machine Learning." + ] + }, + { + "cell_type": "markdown", + "id": "attended-evolution", + "metadata": {}, + "source": [ + "More help and informations can be found on the project [website](https://github.com/anuprulez/ml-jupyter-notebook)." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "excited-composer", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.6" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/tools/interactive/interactivetool_ml_jupyter_notebook.xml b/tools/interactive/interactivetool_ml_jupyter_notebook.xml index 6e609f0f2c1..4b80f54b407 100644 --- a/tools/interactive/interactivetool_ml_jupyter_notebook.xml +++ b/tools/interactive/interactivetool_ml_jupyter_notebook.xml @@ -1,6 +1,6 @@ - docker.io/anupkumar/sample-docker-ml-jupyter + docker.io/anupkumar/sample-docker-ml-jupyter:latest @@ -30,8 +30,8 @@ export PATH=/home/jovyan/.local/bin:\$PATH && #if $mode.mode_select == 'scratch': - ## copy default notebook - cp '$__tool_directory__/default_notebook.ipynb' ./ipython_galaxy_notebook.ipynb && + ## copy default notebook ml + cp '$__tool_directory__/default_notebook_ml.ipynb' ./ipython_galaxy_notebook.ipynb && jupyter trust ./ipython_galaxy_notebook.ipynb && jupyter lab --allow-root --no-browser --NotebookApp.shutdown_button=True && cp ./ipython_galaxy_notebook.ipynb '$jupyter_notebook'