Skip to content

Commit

Permalink
Fix imports, add git clone command
Browse files Browse the repository at this point in the history
  • Loading branch information
valosekj committed Sep 2, 2023
1 parent 192fdb4 commit 6c8f85c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6c8f85c

Please sign in to comment.