Skip to content

Commit

Permalink
Merge pull request #6 from AFM-SPM/ns-rse/1-import-notebooks
Browse files Browse the repository at this point in the history
Simplifying notebook installs by removing dependencies
  • Loading branch information
ns-rse authored Oct 11, 2023
2 parents 7d6d605 + 4eb4c8f commit 3e4e1d6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
11 changes: 5 additions & 6 deletions content/00-Walkthrough-minicircle.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"id": "c67d027d-4fee-4dba-85e0-624d99850ed6",
"metadata": {},
"source": [
"## Getting Started\n"
"# Setup\n"
]
},
{
Expand All @@ -43,7 +43,7 @@
"source": [
"## Install requirements\n",
"\n",
"A few libraries need manually loading before you can run this Notebook"
"A few libraries need isntalling before you can run this Notebook. This will take a short while as the packages are downloaded and installed."
]
},
{
Expand All @@ -53,8 +53,8 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install pgfinder==0.0.3\n",
"%pip install ipywidgets matplotlib nupy"
"%pip install ipywidgets\n",
"%pip install topostats"
]
},
{
Expand All @@ -64,8 +64,7 @@
"source": [
"### Loading Libraries and Modules\n",
"\n",
"TopoStats is written as a series of modules with various classes and functions. In order to use these interactively we\n",
"need to `import` them."
"The required libraries and modules are now `import`ed."
]
},
{
Expand Down
3 changes: 0 additions & 3 deletions content/02-Summary-statistics-and-plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@
"outputs": [],
"source": [
"%pip install ipywidgets\n",
"%pip install matplotlib\n",
"%pip install pandas\n",
"%pip install seaborn\n",
"%pip install topostats"
]
},
Expand Down
16 changes: 11 additions & 5 deletions content/03-Plotting-scans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@
"id": "5f4a00d6-93ed-469d-8323-cf49f68ef266",
"metadata": {},
"source": [
"# Setup\n",
"\n",
"The first step required is to install some Python libraries required to load and plot the data."
"# Setup"
]
},
{
Expand All @@ -51,11 +49,19 @@
"outputs": [],
"source": [
"%pip install ipywidgets\n",
"%pip install matplotlib\n",
"%pip install numpy\n",
"%pip install topostats"
]
},
{
"cell_type": "markdown",
"id": "a108706d-8a3c-4161-8704-ec14cb7dbdcf",
"metadata": {},
"source": [
"## Loading Libraries and Modules\n",
"\n",
"The required libraries and modules are now `import`ed."
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down

0 comments on commit 3e4e1d6

Please sign in to comment.