Skip to content

Commit 73189de

Browse files
committed
Merge tag '24.1.0'
24.1.0 (September 16, 2024) New feature release in the 24.1.x series. Handling of gradient echo fieldmaps is improved. * FIX: Select volumetric dseg.tsv from recent TemplateFlow releases (#3257) * RF: Adapt to less T1w-centric smriprep (#3333) * RF: Use acres over vendored data loader (#3323) * DOC: Add benchmark page (#3312) * MAINT: Move to tox to simplify test/CI setup (#3326) * CI: Fix expected outputs for fieldmaps (#3321)
2 parents 6c61481 + d7bf47b commit 73189de

File tree

7 files changed

+111
-52
lines changed

7 files changed

+111
-52
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: check-toml
1313
- id: check-added-large-files
1414
- repo: https://github.com/astral-sh/ruff-pre-commit
15-
rev: v0.4.3
15+
rev: v0.6.2
1616
hooks:
1717
- id: ruff
1818
args: [ --fix ]

CHANGES.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
24.1.0 (September 16, 2024)
2+
===========================
3+
New feature release in the 24.1.x series.
4+
5+
Handling of gradient echo fieldmaps is improved.
6+
7+
* FIX: Select volumetric dseg.tsv from recent TemplateFlow releases (#3257)
8+
* RF: Adapt to less T1w-centric smriprep (#3333)
9+
* RF: Use acres over vendored data loader (#3323)
10+
* DOC: Add benchmark page (#3312)
11+
* MAINT: Move to tox to simplify test/CI setup (#3326)
12+
* CI: Fix expected outputs for fieldmaps (#3321)
13+
114
24.0.1 (July 16, 2024)
215
======================
316
Bug fix release in the 24.0.x series.

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ RUN python -m build /src
4040
#
4141

4242
# Utilities for downloading packages
43-
FROM ${BASE_IMAGE} as downloader
43+
FROM ${BASE_IMAGE} AS downloader
4444
# Bump the date to current to refresh curl/certificates/etc
4545
RUN echo "2023.07.20"
4646
RUN apt-get update && \
@@ -53,13 +53,13 @@ RUN apt-get update && \
5353
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5454

5555
# FreeSurfer 7.3.2
56-
FROM downloader as freesurfer
56+
FROM downloader AS freesurfer
5757
COPY docker/files/freesurfer7.3.2-exclude.txt /usr/local/etc/freesurfer7.3.2-exclude.txt
5858
RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.3.2/freesurfer-linux-ubuntu22_amd64-7.3.2.tar.gz \
5959
| tar zxv --no-same-owner -C /opt --exclude-from=/usr/local/etc/freesurfer7.3.2-exclude.txt
6060

6161
# AFNI
62-
FROM downloader as afni
62+
FROM downloader AS afni
6363
# Bump the date to current to update AFNI
6464
RUN echo "2023.07.20"
6565
RUN mkdir -p /opt/afni-latest \
@@ -80,7 +80,7 @@ RUN mkdir -p /opt/afni-latest \
8080
-name "3dvolreg" \) -delete
8181

8282
# Connectome Workbench 1.5.0
83-
FROM downloader as workbench
83+
FROM downloader AS workbench
8484
RUN mkdir /opt/workbench && \
8585
curl -sSLO https://www.humanconnectome.org/storage/app/media/workbench/workbench-linux64-v1.5.0.zip && \
8686
unzip workbench-linux64-v1.5.0.zip -d /opt && \
@@ -89,13 +89,13 @@ RUN mkdir /opt/workbench && \
8989
strip --remove-section=.note.ABI-tag /opt/workbench/libs_linux64/libQt5Core.so.5
9090

9191
# Convert3d 1.4.0
92-
FROM downloader as c3d
92+
FROM downloader AS c3d
9393
RUN mkdir /opt/convert3d && \
9494
curl -fsSL --retry 5 https://sourceforge.net/projects/c3d/files/c3d/Experimental/c3d-1.4.0-Linux-gcc64.tar.gz/download \
9595
| tar -xz -C /opt/convert3d --strip-components 1
9696

9797
# Micromamba
98-
FROM downloader as micromamba
98+
FROM downloader AS micromamba
9999

100100
# Install a C compiler to build extensions when needed.
101101
# traits<6.4 wheels are not available for Python 3.11+, but build easily.
@@ -119,13 +119,13 @@ RUN micromamba create -y -f /tmp/env.yml && \
119119
# Check if this is still necessary when updating the base image.
120120
ENV PATH="/opt/conda/envs/fmriprep/bin:$PATH" \
121121
UV_USE_IO_URING=0
122-
RUN npm install -g svgo@^3.2.0 bids-validator@^1.14.0 && \
122+
RUN npm install -g svgo@^3.2.0 [email protected].10 && \
123123
rm -r ~/.npm
124124

125125
#
126126
# Main stage
127127
#
128-
FROM ${BASE_IMAGE} as fmriprep
128+
FROM ${BASE_IMAGE} AS fmriprep
129129

130130
# Configure apt
131131
ENV DEBIAN_FRONTEND="noninteractive" \

env.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ dependencies:
1515
# Base scientific python stack; required by FSL, so pinned here
1616
- numpy=1.26
1717
- scipy=1.13
18-
- matplotlib=3.8
18+
- matplotlib=3.9
1919
- pandas=2.2
2020
- h5py=3.11
2121
# Dependencies compiled against numpy, best to stick with conda
2222
- nitime=0.10
23-
- scikit-image=0.23
23+
- scikit-image=0.24
2424
- scikit-learn=1.4
2525
# Utilities
2626
- graphviz=9.0

fmriprep/workflows/bold/resampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,10 +575,10 @@ def init_bold_fsLR_resampling_wf(
575575
Path to BOLD series resampled as functional GIFTI files in fsLR space
576576
577577
"""
578+
import smriprep.data
578579
import templateflow.api as tf
579580
from niworkflows.engine.workflows import LiterateWorkflow as Workflow
580581
from niworkflows.interfaces.utility import KeySelect
581-
from smriprep import data as smriprep_data
582582

583583
from fmriprep.interfaces.workbench import VolumeToSurfaceMapping
584584

@@ -652,7 +652,7 @@ def init_bold_fsLR_resampling_wf(
652652
extension='.surf.gii',
653653
)
654654
]
655-
atlases = smriprep_data.load_resource('atlases')
655+
atlases = smriprep.data.load('atlases')
656656
select_surfaces.inputs.template_roi = [
657657
str(atlases / f'L.atlasroi.{fslr_density}_fs_LR.shape.gii'),
658658
str(atlases / f'R.atlasroi.{fslr_density}_fs_LR.shape.gii'),

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ dependencies = [
2323
"looseversion",
2424
"nibabel >= 4.0.1",
2525
"nipype >= 1.8.5",
26-
"nireports @ git+https://github.com/nipreps/nireports.git@main",
26+
"nireports >= 23.2.2",
2727
"nitime",
28-
"nitransforms >= 21.0.0",
29-
"niworkflows @ git+https://github.com/nipreps/niworkflows.git@master",
28+
"nitransforms >= 21.0.0, != 24.0.0",
29+
"niworkflows >= 1.11.0",
3030
"numpy >= 1.22",
3131
"packaging",
3232
"pandas",
3333
"psutil >= 5.4",
3434
"pybids >= 0.15.2",
3535
"requests",
36-
"sdcflows @ git+https://github.com/nipreps/sdcflows.git@master",
37-
"smriprep @ git+https://github.com/nipreps/smriprep.git@master",
36+
"sdcflows >= 2.10.0",
37+
"smriprep >= 0.16.0",
3838
"tedana >= 23.0.2",
3939
"templateflow >= 24.1.0",
4040
"transforms3d",

0 commit comments

Comments
 (0)