From 2c9d93fdede3be0678c854236dcc167e82a69e70 Mon Sep 17 00:00:00 2001
From: Sean Fitzgibbon <seanf@fmrib.ox.ac.uk>
Date: Wed, 28 Apr 2021 21:38:25 +0100
Subject: [PATCH] Added install instructions for nilearn

---
 .../data_visualisation/nilearn/nilearn.ipynb        | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/applications/data_visualisation/nilearn/nilearn.ipynb b/applications/data_visualisation/nilearn/nilearn.ipynb
index 7d966e2..222d3b4 100644
--- a/applications/data_visualisation/nilearn/nilearn.ipynb
+++ b/applications/data_visualisation/nilearn/nilearn.ipynb
@@ -27,7 +27,18 @@
     "3. 2D maximum intensity projection\n",
     "4. Surfaces\n",
     "\n",
-    "Firstly we will import the necessary packages for this notebook: "
+    "`nilearn` is not installed in the `fslpython` environment so you will need to install it to run this notebook. In a terminal run the following command (you will need admin privileges):\n",
+    "\n",
+    "```\n",
+    "sudo $FSLDIR/fslpython/bin/conda install -c conda-forge -n fslpython nilearn\n",
+    "```"
+   ]
+  },
+  {
+   "cell_type": "markdown",
+   "metadata": {},
+   "source": [
+    "First we will import the necessary packages for this notebook: "
    ]
   },
   {
-- 
GitLab