Skip to content

Commit 9ee5e60

Browse files
authored
Merge branch 'master' into FIX_notebook_kernel
2 parents 12ea56b + ec60826 commit 9ee5e60

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ RUN apt-get update -qq \
6363

6464
RUN sed -i '$isource /etc/fsl/fsl.sh' $ND_ENTRYPOINT
6565

66-
ENV LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib"
66+
ENV LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH"
6767

6868
ENV FORCE_SPMMCR="1" \
6969
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/opt/matlabmcr-2010a/v713/runtime/glnxa64:/opt/matlabmcr-2010a/v713/bin/glnxa64:/opt/matlabmcr-2010a/v713/sys/os/glnxa64:/opt/matlabmcr-2010a/v713/extern/bin/glnxa64" \
@@ -212,7 +212,7 @@ RUN echo '{ \
212212
\n [ \
213213
\n "env", \
214214
\n { \
215-
\n "LD_LIBRARY_PATH": "/opt/miniconda-latest/envs/neuro/lib" \
215+
\n "LD_LIBRARY_PATH": "/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH" \
216216
\n } \
217217
\n ], \
218218
\n [ \

Singularity

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ echo '{
204204
\n [
205205
\n "env",
206206
\n {
207-
\n "LD_LIBRARY_PATH": "/opt/miniconda-latest/envs/neuro/lib"
207+
\n "LD_LIBRARY_PATH": "/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH"
208208
\n }
209209
\n ],
210210
\n [
@@ -319,7 +319,7 @@ echo '{
319319
export LANG="en_US.UTF-8"
320320
export LC_ALL="en_US.UTF-8"
321321
export ND_ENTRYPOINT="/neurodocker/startup.sh"
322-
export LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib"
322+
export LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH"
323323
export FORCE_SPMMCR="1"
324324
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu:/opt/matlabmcr-2010a/v713/runtime/glnxa64:/opt/matlabmcr-2010a/v713/bin/glnxa64:/opt/matlabmcr-2010a/v713/sys/os/glnxa64:/opt/matlabmcr-2010a/v713/extern/bin/glnxa64"
325325
export MATLABCMD="/opt/matlabmcr-2010a/v713/toolbox/matlab"

generate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ generate_docker() {
1111
git-annex-standalone vim emacs-nox nano less ncdu \
1212
tig git-annex-remote-rclone octave netbase \
1313
--add-to-entrypoint "source /etc/fsl/fsl.sh" \
14-
--env LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib" \
14+
--env LD_LIBRARY_PATH='/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH' \
1515
--spm12 version=r7219 \
1616
--user=neuro \
1717
--miniconda miniconda_version="4.3.31" \
@@ -49,7 +49,7 @@ generate_singularity() {
4949
git-annex-standalone vim emacs-nox nano less ncdu \
5050
tig git-annex-remote-rclone octave netbase \
5151
--add-to-entrypoint "source /etc/fsl/fsl.sh" \
52-
--env LD_LIBRARY_PATH="/opt/miniconda-latest/envs/neuro/lib" \
52+
--env LD_LIBRARY_PATH='/opt/miniconda-latest/envs/neuro/lib:$LD_LIBRARY_PATH' \
5353
--spm12 version=r7219 \
5454
--user=neuro \
5555
--miniconda miniconda_version="4.3.31" \

notebooks/handson_preprocessing.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@
733733
"cell_type": "markdown",
734734
"metadata": {},
735735
"source": [
736-
"**<span style=\"color:red\">Important</span>**: As you can see above, we also specified a variable `desired_voxel_iso`. This is very important at this stage, otherwise `FLIRT` will transform your functional images to a resolution of the anatomical image, which will dramatically increase the file size (e.g. to 1-10GB per file). If you don't want to change the voxel resolution, use the `no_resample=True` value instead of `apply_isoxfm=desired_voxel_iso`."
736+
"**<span style=\"color:red\">Important</span>**: As you can see above, we also specified a variable `desired_voxel_iso`. This is very important at this stage, otherwise `FLIRT` will transform your functional images to a resolution of the anatomical image, which will dramatically increase the file size (e.g. to 1-10GB per file). If you don't want to change the voxel resolution, use the additional parameter `no_resample=True`. Important, for this to work, you still need to define `apply_isoxfm`."
737737
]
738738
},
739739
{

0 commit comments

Comments
 (0)