Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mark Chiew
pytreat-practicals-2020
Commits
aaf078bb
Commit
aaf078bb
authored
Jan 23, 2020
by
Michiel Cottaar
Browse files
Updated instructions to reflect jupyter notebook is already installed
parent
c4dd82c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
aaf078bb
...
@@ -24,36 +24,13 @@ installed.
...
@@ -24,36 +24,13 @@ installed.
## For attendees
## For attendees
To run these notebooks in the
`fslpython`
environment, you must first install
These notebooks can be run in the
`fslpython`
environment using:
jupyter:
```
# If your FSL installation requires administrative privileges to modify, then
# you MUST run these commands as root - don't just prefix each individual
# command with sudo, or you will probably install jupyter into the wrong
# location!
#
# One further complication - once you have become root, $FSLDIR may not be set,
# so either set it as we have done below, or make sure that it is set, before
# proceeding.
sudo su
export FSLDIR=/usr/local/fsl
source $FSLDIR/fslpython/bin/activate fslpython
conda install jupyter
source deactivate
ln -s $FSLDIR/fslpython/envs/fslpython/bin/jupyter $FSLDIR/bin/fsljupyter
```
Then, clone this repository on your local machine, and run
`fsljupyter notebook`
:
```
```
git clone git@git.fmrib.ox.ac.uk:fsl/pytreat-2018-practicals.git
git clone git@git.fmrib.ox.ac.uk:fsl/pytreat-2018-practicals.git
cd pytreat-2018-practicals
cd pytreat-2018-practicals
fsl
ju
pyt
er
notebook
fslpyt
hon -m
notebook
```
```
...
@@ -110,17 +87,14 @@ To contribute to the practicals:
...
@@ -110,17 +87,14 @@ To contribute to the practicals:
repository.
repository.
When you install
`jupyter`
above, y
ou may also wish to install
Y
ou may also wish to install
[
`notedown`
](
https://github.com/aaren/notedown
)
:
[
`notedown`
](
https://github.com/aaren/notedown
)
:
```
```
# .
source $FSLDIR/fslpython/bin/activate fslpython
# see instructions above
# .
conda install jupyter
pip install notedown
pip install notedown
source deactivate
source deactivate
ln -s $FSLDIR/fslpython/envs/fslpython/bin/jupyter $FSLDIR/bin/fsljupyter
fslpython -m notedown
ln -s $FSLDIR/fslpython/envs/fslpython/bin/notedown $FSLDIR/bin/fslnotedown
ln -s $FSLDIR/fslpython/envs/fslpython/bin/notedown $FSLDIR/bin/fslnotedown
```
```
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment