From 967ea7d5d6b93084662d9a3c0dfba6b9d5365f58 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Mon, 1 Nov 2021 12:28:55 -0400 Subject: [PATCH 1/3] add libgl1-mesa-glx to binder requirements Should fix visualizations --- binder/apt.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/binder/apt.txt b/binder/apt.txt index 5c62b5aa..e32487cc 100644 --- a/binder/apt.txt +++ b/binder/apt.txt @@ -1 +1,2 @@ tree +libgl1-mesa-glx From 5cb1f7e9bb25386de4ba7228a77eff6e02ca0ac6 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Thu, 4 Nov 2021 08:20:19 -0400 Subject: [PATCH 2/3] export utils to PYTHONPATH --- binder/postBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binder/postBuild b/binder/postBuild index a2a13d33..7ab5700d 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -6,3 +6,6 @@ jupyter nbextension enable exercise2/main osf -p cmq8a fetch ds000221_subject/ds000221_sub-010006.zip data/ds000221_sub-010006.zip unzip data/ds000221_sub-010006.zip -d data rm data/ds000221_sub-010006.zip + +# export pythonpath +export PYTHONPATH=$PYTHONPATH:utils/ \ No newline at end of file From 254d9ca42763d8f75fe29c80414152b9e4bfe3d8 Mon Sep 17 00:00:00 2001 From: Jason Kai Date: Thu, 4 Nov 2021 16:05:28 -0400 Subject: [PATCH 3/3] add utils dir to PATH --- binder/postBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binder/postBuild b/binder/postBuild index 7ab5700d..4487caf7 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -8,4 +8,5 @@ unzip data/ds000221_sub-010006.zip -d data rm data/ds000221_sub-010006.zip # export pythonpath -export PYTHONPATH=$PYTHONPATH:utils/ \ No newline at end of file +export PYTHONPATH=utils/:$PYTHONPATH +export PATH=utils/:$PATH \ No newline at end of file