diff --git a/binder/data_requirement.json b/binder/data_requirement.json index 3864058..5aeeae5 100644 --- a/binder/data_requirement.json +++ b/binder/data_requirement.json @@ -1,5 +1,5 @@ { "src": "https://github.com/shimming-toolbox/rf-shimming-7t-neurolibre/releases/download/v1/ds004906.zip", - "dst": "../", - "projectName": "data" + "dst": "../data", + "projectName": "rf-shimming-7t" } \ No newline at end of file diff --git a/binder/postBuild b/binder/postBuild index f58e6ed..0ece282 100755 --- a/binder/postBuild +++ b/binder/postBuild @@ -2,12 +2,15 @@ set -e touch ~/.bashrc + cd content repo2data -r ../binder/data_requirement.json cd .. + git clone https://github.com/spinalcordtoolbox/spinalcordtoolbox ~/content/sct cd ~/content/sct yes | ./install_sct + echo 'export PATH=~/content/sct/bin:$PATH' >> ~/.bashrc echo 'export MPLBACKEND='Agg'' >> ~/.bashrc