From 6c8f85c2ecb07d89a811fe06c8ac9fd4b0d9bd34 Mon Sep 17 00:00:00 2001 From: valosekj Date: Sat, 2 Sep 2023 19:42:04 -0400 Subject: [PATCH] Fix imports, add git clone command --- content/index.ipynb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/content/index.ipynb b/content/index.ipynb index d324e44..dd98398 100644 --- a/content/index.ipynb +++ b/content/index.ipynb @@ -294,12 +294,17 @@ "outputs": [], "source": [ "import os\n", + "import pandas as pd\n", "from IPython.display import clear_output\n", "\n", + "if os.path.isdir('analysis')== False:\n", + " !git clone --depth 1 https://github.com/spinalcordtoolbox/PAM50-normalized-metrics.git analysis\n", + " dir_name = 'analysis'\n", + "\n", "cwd = os.getcwd()\n", "os.chdir('analysis/notebooks')\n", "\n", - "from utils_plotly import create_subplot\n", + "from ipynb.fs.full.utils_plotly import create_subplot\n", "\n", "os.chdir(cwd)\n", "\n",