Skip to content

Commit bd1f332

Browse files
slimnsouroesteban
authored andcommitted
Changed FSL installation to just copy eddy_openmp and adjusted some eddy inputs
1 parent 1e6b4f2 commit bd1f332

File tree

4 files changed

+3
-31
lines changed

4 files changed

+3
-31
lines changed

.docker/fsl-6.0/bin/eddy_openmp

30.8 MB
Binary file not shown.

Dockerfile

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -94,38 +94,9 @@ ENV PATH="/usr/lib/fsl/5.0:/usr/lib/afni/bin:$PATH"
9494

9595
COPY .docker/fsl-6.0/bin/topup /usr/share/fsl/5.0/bin/topup
9696
COPY .docker/fsl-6.0/bin/imglob /usr/share/fsl/5.0/bin/imglob
97+
COPY .docker/fsl-6.0/bin/eddy_openmp /usr/lib/fsl/5.0/eddy_openmp
9798
COPY .docker/fsl-6.0/lib/* /usr/lib/fsl/5.0/
9899

99-
ENV FSLDIR="/opt/fsl-5.0.11" \
100-
PATH="/opt/fsl-5.0.11/bin:$PATH" \
101-
FSLOUTPUTTYPE="NIFTI_GZ"
102-
103-
RUN apt-get update -qq && \
104-
apt-get install -y -q --no-install-recommends \
105-
bc \
106-
dc \
107-
file \
108-
libfontconfig1 \
109-
libfreetype6 \
110-
libgl1-mesa-dev \
111-
libglu1-mesa-dev \
112-
libgomp1 \
113-
libice6 \
114-
libxcursor1 \
115-
libxft2 \
116-
libxinerama1 \
117-
libxrandr2 \
118-
libxrender1 \
119-
libxt6 \
120-
python \
121-
wget && \
122-
apt-get clean && \
123-
rm -rf /var/lib/apt/lists/* && \
124-
echo "Downloading FSL ..." && \
125-
wget -q http://fsl.fmrib.ox.ac.uk/fsldownloads/fslinstaller.py && \
126-
chmod 775 fslinstaller.py && \
127-
/usr/bin/python fslinstaller.py -d /opt/fsl-5.0.11 -V 5.0.11 -q
128-
129100
# Installing ANTs 2.3.3 (NeuroDocker build)
130101
# Note: the URL says 2.3.4 but it is actually 2.3.3
131102
ENV ANTSPATH=/usr/lib/ants

dmriprep/workflows/dwi/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def _bold_reg_suffix(fallback):
208208
# fmt:off
209209
workflow.connect([
210210
(dwi_reference_wf, eddy_wf, [
211-
("outputnode.ref_image", "inputnode.dwi_file"),
211+
("outputnode.dwi_file", "inputnode.dwi_file"),
212212
("outputnode.dwi_mask", "inputnode.dwi_mask"),
213213
]),
214214
(inputnode, eddy_wf, [

dmriprep/workflows/dwi/eddy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def init_eddy_wf(debug=False, name="eddy_wf"):
110110

111111
if debug:
112112
eddy.inputs.niter = 1
113+
eddy.inputs.is_shelled = True
113114

114115
# Generate the acqp and index files for eddy
115116
gen_eddy_files = pe.Node(

0 commit comments

Comments
 (0)