-
Notifications
You must be signed in to change notification settings - Fork 1
/
postBuild
45 lines (38 loc) · 1.36 KB
/
postBuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Files will be stored in /tmp directory
cd /tmp
# Download qMRLab 2b2b9d
# BIDS module is available with this hash
git clone -b master https://github.com/qMRLab/qMRLab.git --depth 1
#git reset --hard c19eed5325de949231357944e679e79dd74a79fa
# Download example dataset
wget -O data.zip https://osf.io/4fztd/download/
unzip data.zip -d $HOME
# Add /tmp and subfolders in the Octave search path.
# We need to add bids path explicitly for Octave.
octave --no-gui --eval "addpath(genpath('/tmp')); addpath('/tmp/qMRLab/External/imtool3D_td/External/bids-matlab'); addpath('/tmp/qMRLab/External/imtool3D_td/External/bids-matlab/+bids'); savepath;"
pip install sos \
sos-notebook \
sos-python \
sos-bash \
sos-matlab==0.18.3 \
sos-ruby \
sos-sas \
sos-julia \
sos-javascript \
sos-r \
plotly \
plotly_express \
dash
# Install SoS kernel
python -m sos_notebook.install
jupyter nbextension enable --py --sys-prefix ipyleaflet
git clone https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git
pip install -e jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable hide_input/main
jupyter nbextension enable init_cell/main
python -m pip install statsmodels
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter nbextension enable codefolding/main
jupyter nbextension enable collapsible_headings/main