Skip to content

Commit a45a8ea

Browse files
authored
Merge pull request #361 from effigies/mnt/env
MNT: Update installation environment
2 parents 5e60fd8 + 1056b37 commit a45a8ea

File tree

4 files changed

+40
-52
lines changed

4 files changed

+40
-52
lines changed

.circleci/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ jobs:
128128
--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
129129
--build-arg VCS_REF=`git rev-parse --short HEAD` \
130130
--build-arg VERSION="${CIRCLE_TAG:-$THISVERSION}" .
131+
- run:
132+
command: docker images
131133
- run:
132134
name: Check Docker image
133135
command: |

Dockerfile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,13 +77,6 @@ RUN mkdir -p /opt/afni-latest \
7777
-name "3dAutomask" -or \
7878
-name "3dvolreg" \) -delete
7979

80-
# ANTs 2.4.4
81-
FROM downloader as ants
82-
RUN mkdir -p /opt && \
83-
curl -sSLO "https://github.com/ANTsX/ANTs/releases/download/v2.4.4/ants-2.4.4-ubuntu-22.04-X64-gcc.zip" && \
84-
unzip ants-2.4.4-ubuntu-22.04-X64-gcc.zip -d /opt && \
85-
rm ants-2.4.4-ubuntu-22.04-X64-gcc.zip
86-
8780
# Connectome Workbench 1.5.0
8881
FROM downloader as workbench
8982
RUN mkdir /opt/workbench && \
@@ -172,7 +165,6 @@ RUN apt-get update -qq \
172165
# Install files from stages
173166
COPY --from=freesurfer /opt/freesurfer /opt/freesurfer
174167
COPY --from=afni /opt/afni-latest /opt/afni-latest
175-
COPY --from=ants /opt/ants-2.4.4 /opt/ants
176168
COPY --from=workbench /opt/workbench /opt/workbench
177169

178170
# Simulate SetUpFreeSurfer.sh
@@ -197,11 +189,6 @@ ENV PATH="/opt/afni-latest:$PATH" \
197189
AFNI_IMSAVE_WARNINGS="NO" \
198190
AFNI_PLUGINPATH="/opt/afni-latest"
199191

200-
# ANTs config
201-
ENV ANTSPATH="/opt/ants" \
202-
PATH="/opt/ants/bin:$PATH" \
203-
LD_LIBRARY_PATH="/opt/ants/lib:$LD_LIBRARY_PATH"
204-
205192
# Workbench config
206193
ENV PATH="/opt/workbench/bin_linux64:$PATH" \
207194
LD_LIBRARY_PATH="/opt/workbench/lib_linux64:$LD_LIBRARY_PATH"

env.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@ dependencies:
1111
- mkl=2022.1
1212
- mkl-service=2.4
1313
# Base scientific python stack; required by FSL, so pinned here
14-
- numpy=1.24
15-
- scipy=1.10
16-
- matplotlib=3.7
14+
- numpy=1.25
15+
- scipy=1.11
16+
- matplotlib=3.7,!=3.7.2
1717
- pandas=2.0
1818
- h5py=3.8
1919
# Dependencies compiled against numpy, best to stick with conda
20-
- scikit-image=0.20
21-
- scikit-learn=1.2
20+
- scikit-image=0.21
21+
- scikit-learn=1.3
2222
# Utilities
2323
- graphviz=6.0
2424
- pandoc=3.1
25-
# Workflow dependencies: Convert3D
26-
- convert3d=1.3.0
27-
- libitk=5.2 # 5.3 fails with c3d
25+
# Workflow dependencies: ANTs
26+
- ants=2.4.4
2827
# Workflow dependencies: FSL (versions pinned in 6.0.6.2)
2928
- fsl-bet2=2111.0
3029
- fsl-flirt=2111.0

requirements.txt

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ astor==0.8.1
88
# via formulaic
99
attrs==23.1.0
1010
# via niworkflows
11-
bids-validator==1.11.0
11+
bids-validator==1.12.0
1212
# via pybids
13-
certifi==2023.5.7
13+
certifi==2023.7.22
1414
# via requests
15-
charset-normalizer==3.1.0
15+
charset-normalizer==3.2.0
1616
# via requests
1717
ci-info==0.3.0
1818
# via etelemetry
19-
click==8.1.3
19+
click==8.1.7
2020
# via
2121
# nipype
2222
# pybids
@@ -30,42 +30,42 @@ etelemetry==0.3.0
3030
# via nipype
3131
filelock==3.12.2
3232
# via nipype
33-
fonttools==4.40.0
33+
fonttools==4.42.1
3434
# via matplotlib
3535
formulaic==0.5.2
3636
# via pybids
3737
greenlet==2.0.2
3838
# via sqlalchemy
39-
h5py==3.8.0
39+
h5py==3.9.0
4040
# via nitransforms
4141
idna==3.4
4242
# via requests
43-
imageio==2.31.1
43+
imageio==2.31.2
4444
# via scikit-image
45-
indexed-gzip==1.7.1
45+
indexed-gzip==1.8.3
4646
# via smriprep (pyproject.toml)
4747
interface-meta==1.3.0
4848
# via formulaic
4949
isodate==0.6.1
5050
# via rdflib
5151
jinja2==3.1.2
5252
# via niworkflows
53-
joblib==1.2.0
53+
joblib==1.3.2
5454
# via
5555
# nilearn
5656
# scikit-learn
57-
kiwisolver==1.4.4
57+
kiwisolver==1.4.5
5858
# via matplotlib
59-
lazy-loader==0.2
59+
lazy-loader==0.3
6060
# via scikit-image
6161
lockfile==0.12.2
6262
# via smriprep (pyproject.toml)
63-
looseversion==1.2.0
63+
looseversion==1.3.0
6464
# via
6565
# nipype
6666
# niworkflows
6767
# smriprep (pyproject.toml)
68-
lxml==4.9.2
68+
lxml==4.9.3
6969
# via
7070
# nilearn
7171
# prov
@@ -96,13 +96,13 @@ nipype==1.8.6
9696
# via
9797
# niworkflows
9898
# smriprep (pyproject.toml)
99-
nitransforms==23.0.0
99+
nitransforms==23.0.1
100100
# via niworkflows
101-
niworkflows==1.8.0
101+
niworkflows==1.8.1
102102
# via smriprep (pyproject.toml)
103103
num2words==0.5.12
104104
# via pybids
105-
numpy==1.24.3
105+
numpy==1.25.2
106106
# via
107107
# contourpy
108108
# formulaic
@@ -132,28 +132,28 @@ packaging==23.1
132132
# niworkflows
133133
# scikit-image
134134
# smriprep (pyproject.toml)
135-
pandas==2.0.2
135+
pandas==2.0.3
136136
# via
137137
# formulaic
138138
# nilearn
139139
# niworkflows
140140
# pybids
141141
# seaborn
142-
pillow==9.5.0
142+
pillow==10.0.0
143143
# via
144144
# imageio
145145
# matplotlib
146146
# scikit-image
147147
prov==2.0.0
148148
# via nipype
149-
pybids==0.16.1
149+
pybids==0.16.3
150150
# via
151151
# niworkflows
152152
# smriprep (pyproject.toml)
153153
# templateflow
154154
pydot==1.4.2
155155
# via nipype
156-
pyparsing==3.1.0
156+
pyparsing==3.0.9
157157
# via
158158
# matplotlib
159159
# pydot
@@ -168,11 +168,11 @@ pytz==2023.3
168168
# via pandas
169169
pywavelets==1.4.1
170170
# via scikit-image
171-
pyyaml==6.0
171+
pyyaml==6.0.1
172172
# via
173173
# niworkflows
174174
# smriprep (pyproject.toml)
175-
rdflib==6.3.2
175+
rdflib==7.0.0
176176
# via
177177
# nipype
178178
# prov
@@ -181,11 +181,11 @@ requests==2.31.0
181181
# etelemetry
182182
# nilearn
183183
# templateflow
184-
scikit-image==0.20.0
184+
scikit-image==0.21.0
185185
# via niworkflows
186-
scikit-learn==1.2.2
186+
scikit-learn==1.3.0
187187
# via nilearn
188-
scipy==1.10.1
188+
scipy==1.11.2
189189
# via
190190
# formulaic
191191
# nilearn
@@ -203,33 +203,33 @@ six==1.16.0
203203
# via
204204
# isodate
205205
# python-dateutil
206-
sqlalchemy==2.0.16
206+
sqlalchemy==2.0.20
207207
# via pybids
208208
svgutils==0.3.4
209209
# via niworkflows
210210
templateflow==23.0.0
211211
# via
212212
# niworkflows
213213
# smriprep (pyproject.toml)
214-
threadpoolctl==3.1.0
214+
threadpoolctl==3.2.0
215215
# via scikit-learn
216-
tifffile==2023.4.12
216+
tifffile==2023.8.25
217217
# via scikit-image
218-
tqdm==4.65.0
218+
tqdm==4.66.1
219219
# via templateflow
220220
traits==6.3.2
221221
# via
222222
# nipype
223223
# niworkflows
224224
transforms3d==0.4.1
225225
# via niworkflows
226-
typing-extensions==4.6.3
226+
typing-extensions==4.7.1
227227
# via
228228
# formulaic
229229
# sqlalchemy
230230
tzdata==2023.3
231231
# via pandas
232-
urllib3==2.0.3
232+
urllib3==2.0.4
233233
# via requests
234234
wrapt==1.15.0
235235
# via formulaic

0 commit comments

Comments
 (0)