Skip to content

Commit c5ee394

Browse files
author
Dan Levitas
committed
[ENH] Enable fslreorient2std during defacing
1 parent 35ee644 commit c5ee394

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

handler/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND noninteractive
77
RUN apt update && \
88
apt-get update && apt-get upgrade -y
99

10-
RUN apt install -y parallel python3 python3-pip tree curl unzip git jq python libgl-dev python-numpy
10+
RUN apt install -y parallel python3 python3-pip tree curl unzip git jq python libgl-dev python-numpy bc
1111

1212
RUN pip3 install numpy==1.23.0 nibabel==4.0.0 pandas matplotlib pyyaml==5.4.1 pydicom==2.3.1 natsort pydeface && \
1313
pip3 install quickshear mne mne-bids
@@ -30,7 +30,9 @@ RUN echo "DEFAULT_METADATA_JSON=/usr/local/lib/python3.8/dist-packages/pypet2bid
3030

3131
RUN mkdir -p /usr/local/fsl && \
3232
git clone https://github.com/dlevitas/FSL_binaries /usr/local/fsl && \
33-
rm -rf /usr/local/fsl/README.md
33+
rm -rf /usr/local/fsl/README.md && \
34+
mkdir -p /usr/local/fsl/data/standard && \
35+
mv /usr/local/fsl/bin/MNI152_T1_2mm_brain.nii.gz /usr/local/fsl/data/standard
3436

3537
ENV FSLDIR=/usr/local/fsl
3638
ENV PATH=$PATH:$FSLDIR/bin

0 commit comments

Comments
 (0)