Skip to content

Commit

Permalink
Merge tag '0.17.0'
Browse files Browse the repository at this point in the history
0.17.0 (December 19, 2024)

New feature release in the 0.17.x series.

This release improves handling of datasets where T1w images are not
the primary modality. It also supports the generation of fsLR meshes
on the subject surface with the names:

    sub-<label>/anat/sub-<label>_hemi-<L|R>_space-fsLR_den-<label>_<surface>.surf.gii

These are useful for plotting CIFTI results on subject anatomy.

* FIX: Stop excluding FS minc_modify_header used during fallback registration (#453)
* ENH: Output fsLR meshes on subject surfaces (#460)
* ENH: Support spatial normalization to alternative modalities (#459)
* ENH: Add `t2w_file` output to `TemplateFlowSelect` (#457)
* MNT: Enable pre-release tests (#461)
* MNT: Complete transition from flake8/black to ruff (#435)
* MNT: Adopt src/ layout and tox (#458)
  • Loading branch information
effigies committed Dec 19, 2024
2 parents 7f2863a + 9636db4 commit c42a8a2
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/build_test_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ jobs:
matrix:
os: ["ubuntu-latest"]
python-version: ["3.12"]
dependencies: ["latest"]

env:
DEPENDS: ${{ matrix.dependencies }}
Expand Down Expand Up @@ -193,11 +194,18 @@ jobs:
- name: Download packages built by build-and-inspect-python-package
uses: actions/download-artifact@v4
with:
name: Packages
pattern: Packages-*
path: dist

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/Packages-main/

- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: dist/Packages-wrapper/

checks:
runs-on: "ubuntu-latest"
Expand Down
22 changes: 22 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
0.17.0 (December 19, 2024)
==========================
New feature release in the 0.17.x series.

This release improves handling of datasets where T1w images are not
the primary modality. It also supports the generation of fsLR meshes
on the subject surface with the names:

```
sub-<label>/anat/sub-<label>_hemi-<L|R>_space-fsLR_den-<label>_<surface>.surf.gii
```

These are useful for plotting CIFTI results on subject anatomy.

* FIX: Stop excluding FS minc_modify_header used during fallback registration (#453)
* ENH: Output fsLR meshes on subject surfaces (#460)
* ENH: Support spatial normalization to alternative modalities (#459)
* ENH: Add `t2w_file` output to `TemplateFlowSelect` (#457)
* MNT: Enable pre-release tests (#461)
* MNT: Complete transition from flake8/black to ruff (#435)
* MNT: Adopt src/ layout and tox (#458)

0.16.1 (August 26, 2024)
========================
A bug-fix release that reworks selection within the
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
[build-system]
requires = ["hatchling", "hatch-vcs"]
# Pin hatchling 1.26 to keep metadata 2.3
# The hynek/build-and-inspect-python-package action is pinned at 2.8,
# which in turn pins a twine that rejects 2.4.
# Until uv build fixes a problem with its tar library, we're stuck here.
# https://github.com/hynek/build-and-inspect-python-package/issues/155
# https://github.com/astral-sh/uv/issues/5450
requires = ["hatchling~=1.26.3", "hatch-vcs"]
build-backend = "hatchling.build"

[project]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ deps =
extras = tests
setenv =
pre: PIP_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_EXTRA_INDEX_URL=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_INDEX=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
pre: UV_INDEX_STRATEGY=unsafe-best-match
FSLOUTPUTTYPE=NIFTI_GZ
uv_resolution =
min: lowest-direct
Expand Down

0 comments on commit c42a8a2

Please sign in to comment.